This commit is contained in:
tangobravo14
2024-03-07 14:04:03 +00:00
parent bbd3ee5666
commit d01669a8fe
+20 -1
View File
@@ -127,7 +127,7 @@ echo "${ERRCODE}" >> /tmp/failures
### Check if scripts are up to date
function check_repo_version() {
function check_repo_version_testing() {
cd $DIR && git remote set-url origin https://gitlab.com/amrron/setup-scripts.git/
GITSTATUS=$(git fetch --dry-run | grep -o testing)
@@ -144,6 +144,25 @@ if [[ $GITSTATUS == "testing" ]]; then
fi
}
function check_repo_version() {
echo "To ensure your scripts are up to date with current features and fixes, Quit this installer and run the command \n
\n
git pull\n
\n
in the setup-scripts directory and then relaunch the scripts.\n
If your repo is up to date, click continue." | yad \
--image=$DIR/images/corps-icon.png \
--center \
--text-info \
--wrap \
--button="Quit:1" \
--button="Continue:0" \
--title "Ensure your scripts are up to date." \
${r} ${c}
}
# Set variables used in the script.