1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-04-05 20:13:00 +02:00

Drop config write when checking version

This commit is contained in:
aclist 2022-08-06 03:41:28 +09:00
parent 0c076358cd
commit 9a39e43af7

View file

@ -813,7 +813,6 @@ check_version(){
if [[ ! -f $config_file ]]; then : ; else source $config_file; fi if [[ ! -f $config_file ]]; then : ; else source $config_file; fi
if [[ -z $branch ]]; then if [[ -z $branch ]]; then
branch="stable" branch="stable"
write_config > $config_file
fi fi
check_branch check_branch
if [[ $version == $upstream ]]; then if [[ $version == $upstream ]]; then