run compatibility script instead of sync script
This commit is contained in:
parent
e9afc5e4f1
commit
c6499882b1
2 changed files with 3 additions and 3 deletions
4
comp.sh
4
comp.sh
|
@ -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
|
|
@ -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 "$@"
|
Loading…
Reference in a new issue