mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
added prompt for users to run git pull on their repository
This commit is contained in:
@@ -27,6 +27,26 @@ c="--width=${columns}"
|
||||
r="--height=${rows}"
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
git pull
|
||||
|
||||
in the setup-scripts directory and then relaunch the scripts. 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}
|
||||
|
||||
}
|
||||
|
||||
function determine_os() {
|
||||
#Deterimine computer type.
|
||||
function noOS_Support() {
|
||||
@@ -724,6 +744,7 @@ ardop_launcher
|
||||
|
||||
|
||||
set_screen_size
|
||||
check_repo_version
|
||||
determine_os
|
||||
info_dialogs
|
||||
easy_button
|
||||
|
||||
Reference in New Issue
Block a user