CHANGLOG test a exist or not exist

This commit is contained in:
Désiré Werner Menrath 2023-11-30 12:15:41 +01:00
parent b4acba5096
commit 5381f50258
2 changed files with 23 additions and 16 deletions

View File

@ -8,14 +8,16 @@
# Use without warranty! ##
########################################################
########################################################
-30.11.2023-
[3.2.1]
CHANGLOG test a exist or not exist
add ping -c 1 git.lunix.dedyn.io
--------------------------------------------------------
-29.11.2023-
[3.2.0]
fix on start when active Tunnel removed
new messeage window when active tunnel removed
update translate
new message on background
--------------------------------------------------------
-29.11.2023-
[3.1.9]

9
wire_g
View File

@ -19,7 +19,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
############################################################################################################
############################################################################################################
VERSION=3.2.0
VERSION=3.2.1
# wg_workdir Arbeitsverzeichnis wg
WG_WDIR="/home/$USER/.config/wg_nmcli/"
# Pfad wg Icons
@ -326,7 +326,10 @@ fi
#Search on Updates
if AUTOUPDATE=$(grep 'TRUE TRUE\|FALSE TRUE' ${WG_WDIR}about.txt)
then
rm /tmp/CHANGELOG &> /dev/null
if ping -c 1 git.lunix.dedyn.io
then
if [[ ! -e /tmp/CHANGELOG ]]
then
wget https://git.lunix.dedyn.io/punix/Wire-G/raw/branch/main/wg_nmcli/CHANGELOG -P /tmp
UPDATE=$(diff -q /home/"$USER"/.local/share/wg_nmcli/CHANGELOG /tmp/CHANGELOG)
@ -341,6 +344,8 @@ if AUTOUPDATE=$(grep 'TRUE TRUE\|FALSE TRUE' ${WG_WDIR}about.txt)
--text=$"<span>Update for Wireg-G is available.</span> \n
<a href='https://git.lunix.dedyn.io/punix/Wire-G'>Download Wire-G </a> \n"
fi
fi
fi
fi
#Here is start Wire-G
SELECTION=$(yad --no-klick --list --center \