Update update.sh to run deployment scripts with sudo

- Modified the update.sh script to prepend 'sudo' to deployment commands for elevated permissions.
- Ensured that all installation and update scripts are executed with the necessary privileges to avoid permission issues during execution.
This commit is contained in:
Torsten Schulz (local)
2026-03-19 14:04:21 +01:00
parent 39fd5e9290
commit 6158c9d3c0

View File

@@ -1,9 +1,9 @@
#!/bin/bash
git fetch
git pull
./deploy-to-opt.sh
./install-service-ypchat.sh
./install.sh
./quick-update.sh
./fix-dependencies.sh
sudo ./deploy-to-opt.sh
sudo ./install-service-ypchat.sh
sudo ./install.sh
sudo ./quick-update.sh
sudo ./fix-dependencies.sh
sudo systemctl restart ypchat