Don't remove /opt/slapos at upgrade.

This dir contains data.
parent fcaf6aa8
......@@ -4,10 +4,11 @@ set -e
. /usr/share/debconf/confmodule
case "$1" in
# Delete completely /opt/slapos directory as Python egg directory names
# Delete completely /opt/slapos/eggs directory as Python egg directory names
# include their versions (failed-upgrade is just there for old-prerm)
# XXX-Cedric: there are smarter ways to do that
upgrade|failed-upgrade)
rm -rf /opt/slapos
rm -rf /opt/slapos/eggs
;;
esac
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment