From: Joerg Jaspert Date: Sun, 27 Jul 2014 19:23:20 +0000 (+0200) Subject: Allow coccia, remove morricone, dont try to important if variable is empty X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=17fd1856d02a42118a944e8eada480f616f494fc;p=dak.git Allow coccia, remove morricone, dont try to important if variable is empty Signed-off-by: Joerg Jaspert --- diff --git a/config/homedir/.bashrc b/config/homedir/.bashrc index 23e16b5a..4d34e5a0 100644 --- a/config/homedir/.bashrc +++ b/config/homedir/.bashrc @@ -28,12 +28,9 @@ xterm*|rxvt*) esac case "$HOSTNAME" in - franck) + franck|coccia) export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars ;; - morricone) - export SCRIPTVARS=/srv/backports-master.debian.org/dak/config/backports/vars - ;; chopin) export SCRIPTVARS=/srv/security-master.debian.org/dak/config/debian-security/vars ;; @@ -42,7 +39,9 @@ case "$HOSTNAME" in ;; esac -. $SCRIPTVARS +if [[ -n ${SCRIPTVARS} ]]; then + . $SCRIPTVARS +fi function em() { export EDITOR=$(which emacs)