5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-25 20:41:36 +00:00

Don't normalise on upgrade

This commit is contained in:
Neil Alexander 2019-11-28 13:08:56 +00:00
parent 3f29a2ff05
commit c17c4af26d
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -53,10 +53,7 @@ fi
# Create the postinstall script # Create the postinstall script
cat > config.bat << EOF cat > config.bat << EOF
if exist yggdrasil.conf ( if not exist yggdrasil.conf (
move yggdrasil.conf yggdrasil.conf.backup
yggdrasil.exe -useconffile yggdrasil.conf.backup -normaliseconf > yggdrasil.conf
) else (
yggdrasil.exe -genconf > yggdrasil.conf yggdrasil.exe -genconf > yggdrasil.conf
) )
EOF EOF