aptly-api postrm: do not remove potentially valuable data

This commit is contained in:
Sébastien Delafond committed 2024-11-15 17:44:21 +01:00
1 parent 3fd90c74de
commit 673da76e55
1 file changed
-4
-4
View File
@@ -4,10 +4,6 @@ set -e
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
# only remove /var/lib/aptly-api on purge
if [ "${1}" = "purge" ] ; then
rm -rf /var/lib/aptly-api
fi
;;
*)