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
|
#!/bin/bash
|
||||||
git fetch
|
git fetch
|
||||||
git pull
|
git pull
|
||||||
./deploy-to-opt.sh
|
sudo ./deploy-to-opt.sh
|
||||||
./install-service-ypchat.sh
|
sudo ./install-service-ypchat.sh
|
||||||
./install.sh
|
sudo ./install.sh
|
||||||
./quick-update.sh
|
sudo ./quick-update.sh
|
||||||
./fix-dependencies.sh
|
sudo ./fix-dependencies.sh
|
||||||
sudo systemctl restart ypchat
|
sudo systemctl restart ypchat
|
||||||
|
|||||||
Reference in New Issue
Block a user