run compatibility script instead of sync script
This commit is contained in:
parent
00ee86af39
commit
a8808b4a27
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