mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
17
This commit is contained in:
+20
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user