mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
Pat version check
This commit is contained in:
@@ -144,7 +144,7 @@ if hash flwrap 2>/dev/null; then
|
||||
fi
|
||||
|
||||
if hash pat 2>/dev/null; then
|
||||
PAT=$(pat version | awk -F 'v' '{print $2}' | head -c 5)
|
||||
PAT=$(pat version | awk -F 'v' '{print $2}' | awk -F ' ' '{print $1}')
|
||||
else
|
||||
PAT="NOT INSTALLED"
|
||||
fi
|
||||
@@ -461,14 +461,6 @@ echo "100% Complete"
|
||||
|
||||
|
||||
|
||||
## Piping the previous function, with echo numbers, instead of percent complete, through this gets a progress bar but I lose my variables to the subshell. Figure out alternative...
|
||||
#yad --center --progress --percentage=100 --pulsate --auto-close --auto-kill --button gtk-cancel:1 \
|
||||
#--title "Getting Version Information" \
|
||||
#--text "Please wait while I check on your installed versions and the newest versions available." ${r} ${c} <<<
|
||||
|
||||
|
||||
|
||||
|
||||
#Deterimine computer type.
|
||||
function noOS_Support() {
|
||||
yad --image=$DIR/images/corps-icon.png --center --no-buttons \
|
||||
|
||||
Reference in New Issue
Block a user