fix: testing setup

This commit is contained in:
Cyrille L 2022-03-23 16:48:46 +01:00
parent 687c4353bb
commit 90d4e22ea4
2 changed files with 2 additions and 4 deletions

View File

@ -99,13 +99,12 @@ echo -e "\n# Thank you for installing upd. Have fun !"
&& exit 0
# Updaate && Check Version
git pull
setup_ins_version=`
awk 'NR==2 {print $3}' "$setup_dir_bin/$setup_file_bin" 2>/dev/null`
setup_new_version=`
awk 'NR==2 {print $3}' "$PWD$setup_dir_bin/$setup_file_bin"`
[[ "$setup_ins_version" == "$setup_ins_version" ]] \
[[ "$setup_ins_version" == "$setup_new_version" ]] \
&& echo "$setup_file_bin is already up to date" \
&& unset ${!setup_@} \
&& exit 0

View File

@ -99,13 +99,12 @@ echo -e "\n# Thank you for installing upd. Have fun !"
&& exit 0
# Updaate && Check Version
git pull
setup_ins_version=`
awk 'NR==2 {print $3}' "$setup_dir_bin/$setup_file_bin" 2>/dev/null`
setup_new_version=`
awk 'NR==2 {print $3}' "$PWD$setup_dir_bin/$setup_file_bin"`
[[ "$setup_ins_version" == "$setup_ins_version" ]] \
[[ "$setup_ins_version" == "$setup_new_version" ]] \
&& echo "$setup_file_bin is already up to date" \
&& unset ${!setup_@} \
&& exit 0