Always keep local configuration when updating (#90)

This commit is contained in:
Daniel Hansson 2017-01-16 16:06:38 +01:00 committed by GitHub
parent f76f78ee87
commit 7d5329634a

View File

@ -29,7 +29,7 @@ NCVERSION=$(curl -s --max-time 900 $NCREPO/ | tac | grep unknown.gif | sed 's/.*
# System Upgrade
apt update
apt dist-upgrade -y
export DEBIAN_FRONTEND=noninteractive ; apt dist-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
# Set secure permissions
FILE="$SECURE"