mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-27 12:05:23 +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