diff options
| author | Spacedio <spacedio@thernusen.net> | 2026-06-03 22:39:11 -0400 |
|---|---|---|
| committer | Spacedio <spacedio@thernusen.net> | 2026-06-03 22:39:11 -0400 |
| commit | 7846c1b33585a88333d2b0ac2270d0d304a2eeac (patch) | |
| tree | 27839140aef97d0fd24b8bd405df1583edca86af /system/deploy-system.sh | |
| parent | c9631b31a16b18140b7e471193618f5618fd0521 (diff) | |
| download | dotfiles-7846c1b33585a88333d2b0ac2270d0d304a2eeac.tar.gz | |
Continuing work on the Polybar dGPU module. Switched from Pulseaudio to Pipewire.
Diffstat (limited to 'system/deploy-system.sh')
| -rwxr-xr-x | system/deploy-system.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/deploy-system.sh b/system/deploy-system.sh index a83415f..d8cf4b2 100755 --- a/system/deploy-system.sh +++ b/system/deploy-system.sh @@ -5,16 +5,16 @@ DOT_BIN="./usr/" DOT_ETC="./etc/" # Check for root -if [ "$EUID" -ne 0 ]; then +if [ "$EUID" -ne 0 ]; then echo "Please run as root (sudo ./deploy.sh)" exit fi echo "Deploying system scripts..." -rsync -avh --dry-run --chmod=D755,F755 --chown=root:root "$DOT_BIN" /usr/local/bin/ +rsync -avh --dry-run --backup --suffix=_old --chmod=D755,F755 --chown=root:root "$DOT_BIN" /usr/local/bin/ echo "Deploying etc configs..." -rsync -avh --dry-run --chmod=D755,F644 --chown=root:root "$DOT_ETC" /etc/ +rsync -avh --dry-run --backup --suffix=_old --chmod=D755,F644 --chown=root:root "$DOT_ETC" /etc/ #echo "Reloading services..." #udevadm control --reload-rules && udevadm trigger |
