dotfiles/sync.sh
2023-10-14 22:38:07 +02:00

18 lines
No EOL
246 B
Bash
Executable file

#!/bin/sh
SUDO=${SUDO:-sudo}
PM=${PM:-pacman}
PM_INSTALL=${PM_INSTALL:--S}
PM_NOCONFIRM=${PM_NOCONFIRM:---noconfirm}
main() {
for script in ./scripts/* ; do
echo "# exec $script"
. $script
done
}
main "$@"
echo "# OK"