diff options
Diffstat (limited to 'include/bootstrap')
-rwxr-xr-x | include/bootstrap | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bootstrap b/include/bootstrap index acaadb5..e1a41f6 100755 --- a/include/bootstrap +++ b/include/bootstrap @@ -5,6 +5,7 @@ # This way, I don't have to check for zsh somewhere in the script, # and also have an excuse for using zsh here :P +setopt err_exit typeset -i rcempty=0 typeset PKG_ROOT PKG_DIR default_path='~/packages' : ${XDG_CONFIG_HOME=$HOME/.config} @@ -46,7 +47,7 @@ fi echo 'Fetching the core package...' cd $PKG_DIR git clone $PKG_ROOT/core -cd core || exit 1 +cd core echo 'Writing pkg.conf' mkdir -p $XDG_CONFIG_HOME/pkg |