diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-08-02 17:32:18 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-08-02 17:32:18 (GMT) |
commit | b94013a5e78aedbb537e1ffe43e5b41e98e6ad62 (patch) | |
tree | 1c0ec10d5ba28a6acb9d7d144822c3ba02b28de6 /scripts/shell | |
parent | 38b0ad32b152d31d61eb0a873d7d3de45926af03 (diff) |
Test if config exists instead of creating it
Diffstat (limited to 'scripts/shell')
-rwxr-xr-x | scripts/shell/start-sugar | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/shell/start-sugar b/scripts/shell/start-sugar index 70efdd2..2c8c186 100755 --- a/scripts/shell/start-sugar +++ b/scripts/shell/start-sugar @@ -5,7 +5,7 @@ scriptsdir=`dirname "$shelldir"` rootdir=`dirname "$scriptsdir"` display=`$scriptsdir/find-free-display` -if [ -z $rootdir/config ]; then +if [ -f $rootdir/config ]; then source $rootdir/config fi |