postinst: do not purge models on upgrades

This commit is contained in:
Christophe Siraut 2018-03-26 09:28:46 +02:00
parent 69ca9ed70f
commit 231a92d6f5
1 changed files with 4 additions and 4 deletions

View File

@ -24,10 +24,10 @@ case "$1" in
deb-systemd-invoke enable machines.target
deb-systemd-invoke start systemd-networkd.service
for m in .jessie .stretch .buster .stable .testing .unstable
do
find /var/lib/machines -maxdepth 1 -type d -name ${m}* -exec rm -r {} \;
done
# for m in .jessie .stretch .buster .stable .testing .unstable
# do
# find /var/lib/machines -maxdepth 1 -type d -name ${m}* -exec rm -r {} \;
# done
;;
abort-upgrade|abort-remove|abort-deconfigure)