]> git.decadent.org.uk Git - dak.git/commitdiff
Allow coccia, remove morricone, dont try to important if variable is empty
authorJoerg Jaspert <joerg@debian.org>
Sun, 27 Jul 2014 19:23:20 +0000 (21:23 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sun, 27 Jul 2014 19:23:20 +0000 (21:23 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
config/homedir/.bashrc

index 23e16b5ab684d8ad584688b7dc82dcbb9b6dafa1..4d34e5a0583dd6c6d02aece0ac2ce5188d38e48b 100644 (file)
@@ -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)