Compare commits

..

No commits in common. "3b2b16610032e09b1293894b7263b305157b9f54" and "371aebbb98778b60b23b22c1845f0da73b9d6b6d" have entirely different histories.

2 changed files with 1 additions and 69 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
bash -c "$(curl https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Light_Updater/Updater%20Source%20Files/Update_Sovran_SystemsOS_Light.sh)"
bash -c "$(curl https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Light_Updater/To%20Install%20on%20Local%20Sovran%20Book%20Pros/.Sovran_Systems/localscript_to_remote_updater.sh)"
exit

View File

@ -31,66 +31,6 @@ popd
}
PASTA () {
time_stamp=$(date +%Y-%m-%d-%T)
ssh root@localhost "sudo -u caddy php /var/lib/www/nextcloud/occ db:add-missing-indices &> /home/free/Documents/Updater_App_Logs/{$time_stamp}-Updater_Nextcloud_Maintenance_Log.txt"
}
PASTA-SAUCE () {
pushd /home/free/Documents/Updater_App_Logs
file=$(ls -Art | tail -n 1)
if grep -w "error" $file ; then
zenity --error \
--width=1300 \
--title="Sovran_SystemsOS_Updater" \
--text="Could not complete the Nextcloud Maintenance. Check the Updater_Nextcloud_Maintenance_Log.txt in your Documents under Updater_App_Logs folder for more details."
exit 1
fi
popd
}
PASTA_2 () {
time_stamp=$(date +%Y-%m-%d-%T)
ssh root@localhost "sudo -u caddy php /var/lib/www/nextcloud/occ db:add-missing-indices &> /home/free/Documents/Updater_App_Logs/{$time_stamp}-Updater_Nextcloud_Maintenance2_Log.txt"
}
PASTA-SAUCE_2 () {
pushd /home/free/Documents/Updater_App_Logs
file=$(ls -Art | tail -n 1)
if grep -w "error" $file ; then
zenity --error \
--width=1300 \
--title="Sovran_SystemsOS_Updater" \
--text="Could not complete the Nextcloud Maintenance. Check the Updater_Nextcloud_Maintenance2_Log.txt in your Documents under Updater_App_Logs folder for more details."
exit 1
fi
popd
}
FLAKE () {
time_stamp=$(date +%Y-%m-%d-%T)
@ -199,14 +139,6 @@ else
HUNGRY
PASTA | zenity --progress --no-cancel --auto-close --width=500 --pulsate --text="Nextcloud Maintenance..." --title="Sovran_SystemsOS_Updater"
PASTA-SAUCE
PASTA_2 | zenity --progress --no-cancel --auto-close --width=500 --pulsate --text="Nextcloud Maintenance..." --title="Sovran_SystemsOS_Updater"
PASTA-SAUCE_2
FLAKE | zenity --progress --no-cancel --auto-close --width=500 --pulsate --text="Updating Flake now..." --title="Sovran_SystemsOS_Updater"
PANCAKE-FLAKE