mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-22 14:10:28 +00:00
Don't normalise on upgrade
This commit is contained in:
parent
3f29a2ff05
commit
c17c4af26d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user