added prompt for users to run git pull on their repository

This commit is contained in:
tangobravo14
2024-03-07 14:33:36 +00:00
parent 3e3c324ed1
commit 948643de90
8 changed files with 73 additions and 9 deletions
+22 -2
View File
@@ -1,9 +1,9 @@
#!/bin/bash
################################################################################
################################################################################
################# AmRRON PAT Setup and Alias Manager v0.5.3 ##################
################# AmRRON PAT Setup and Alias Manager v0.6 ##################
################# Created by TB-14 ##################
################# 21 OCT 22 ##################
################# 07 Mar 24 ##################
################################################################################
################################################################################
@@ -39,6 +39,25 @@ SOURCE="${BASH_SOURCE[0]}"
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
#echo "$DIR"
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 dep_check() {
@@ -366,5 +385,6 @@ fi
set_screen_size
check_repo_version
dep_check
skip_setup
+2 -2
View File
@@ -1,9 +1,9 @@
#!/bin/bash
################################################################################
################################################################################
######################## AmRRON Setup Script v0.7.5.4 ########################
######################## AmRRON Setup Script v0.8 ########################
######################## Created by TB-14 ########################
######################## 27 Feb 2024 ########################
######################## 07 Mar 2024 ########################
################################################################################
################################################################################
#
+21
View File
@@ -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
+21 -3
View File
@@ -1,9 +1,9 @@
#!/bin/bash
################################################################################
################################################################################
####################### AmRRON Vara Setup v.0.76 #########################
####################### AmRRON Vara Setup v.0.8 #########################
####################### Created by TB-14 #########################
####################### 05 Mar 2024 #########################
####################### 07 Mar 2024 #########################
################################################################################
################################################################################
@@ -77,8 +77,25 @@ SOURCE="${BASH_SOURCE[0]}"
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
#echo "$DIR"
#Set image location
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}
}
# Create a error function to make life easier later on
function errors() {
@@ -438,6 +455,7 @@ exit 1
set_screen_size
check_repo_version
confirm_os
primer_menu
if [[ $PLAT = Linuxmint ]]; then
+2 -1
View File
@@ -1,5 +1,6 @@
# PAT-GUI Changelog
# Version 0.6
- Added prompt for running git pull command.
# Version 0.5.3
- Changed location of pat config.json
+1 -1
View File
@@ -1,4 +1,4 @@
# Version 0.7.6
# Version 0.8
- Added checking for script currency.
# Version 0.7.5.4
- Removed Electrum install option. No longer supported via this script.
+2
View File
@@ -1,4 +1,6 @@
# Tri-Mode Setup Changelog
# Version 0.7
- Added prompt for running git pull command.
# Version 0.6.3
- Added Linux Mint version checking for 21.1 / 21.2 / 21.3
+2
View File
@@ -1,3 +1,5 @@
# Version 0.8
- Added prompt for running git pull command.
# Version 0.6
- Another edit because download link format changed.
# Version 0.5