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:
10
update.sh
10
update.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user