run compatibility script instead of sync script

This commit is contained in:
Didier Slof 2022-12-18 23:45:15 +01:00
parent e9afc5e4f1
commit c6499882b1
Signed by: didier
GPG key ID: 01E71F18AA4398E5
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 "$@"