Pull before running update script

This commit is contained in:
Cory Sanin 2023-02-05 17:51:32 -06:00
parent 2b07cfaae1
commit 2d9bfdd962

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
cd /usr/files/repo cd /usr/files/repo
echo "==> Checking for updates..." echo "==> Checking for updates..."
git pull || exit 1
/usr/volume/script/script.sh /usr/volume/script/script.sh
git clean -fdx git clean -fdx
if [[ `git status --porcelain` ]]; then if [[ `git status --porcelain` ]]; then