run compatibility script instead of sync script

This commit is contained in:
Strix 2023-10-14 22:38:05 +02:00
parent 00ee86af39
commit a8808b4a27
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ case $cmd in
PM_UPDATE=update \ PM_UPDATE=update \
PM_UPGRADE=upgrade \ PM_UPGRADE=upgrade \
PM_REMOVE=purge \ PM_REMOVE=purge \
./sync.sh "$@" ./sync.sh $@
;; ;;
*|''|arch) ./sync.sh ;; *|''|arch) ./sync.sh $cmd $@ ;;
esac esac

View file

@ -12,7 +12,7 @@ clone() {
main() { main() {
[ -d "$DOTFILES_DIR" ] || clone [ -d "$DOTFILES_DIR" ] || clone
cd "$DOTFILES_DIR" || exit 1 cd "$DOTFILES_DIR" || exit 1
./sync.sh "$@" ./comp.sh "$@"
} }
main "$@" main "$@"