X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-begin;h=e2d1a8713dbef07c58956d681244aa565d86463b;hb=40dd151ec6ba75633c74568da59e35a45351f194;hp=e9699408655ccb6aa4e6a52271937a2edb7b6e09;hpb=7e673f2615101982a17ffa0e23cb10b5b3803f07;p=distro-setup diff --git a/distro-begin b/distro-begin index e969940..e2d1a87 100755 --- a/distro-begin +++ b/distro-begin @@ -78,7 +78,10 @@ fi ### arg parsing recompile=false -emacs=true +emacs=false +if [[ -e /a/opt/emacs ]]; then + emacs=true +fi while [[ $1 == -* ]]; do case $1 in -r) recompile=true; shift ;; @@ -97,7 +100,7 @@ source $script_dir/pkgs set +x source /a/bin/distro-functions/src/identify-distros $interactive || set -x -for f in kd x2 x3 frodo tp li bk je demohost kw; do +for f in kd x2 x3 frodo tp li bk je demohost kw sy bo; do eval "$f() { [[ $HOSTNAME == $f ]]; }" done codename=$(debian-codename) @@ -233,6 +236,10 @@ sudo sed -i --follow-symlinks -f - /etc/hosts <