diff --git a/comp.sh b/comp.sh index 4091ead..0d6c724 100755 --- a/comp.sh +++ b/comp.sh @@ -15,7 +15,7 @@ case $cmd in PM_UPDATE=update \ PM_UPGRADE=upgrade \ PM_REMOVE=purge \ - ./sync.sh "$@" + ./sync.sh $@ ;; - *|''|arch) ./sync.sh ;; + *|''|arch) ./sync.sh $cmd $@ ;; esac \ No newline at end of file diff --git a/lib/deploy.sh b/lib/deploy.sh index 65abbd6..04a7b34 100644 --- a/lib/deploy.sh +++ b/lib/deploy.sh @@ -12,7 +12,7 @@ clone() { main() { [ -d "$DOTFILES_DIR" ] || clone cd "$DOTFILES_DIR" || exit 1 - ./sync.sh "$@" + ./comp.sh "$@" } main "$@" \ No newline at end of file