mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-15 07:00:52 +00:00
aptly-api postrm: do not remove potentially valuable data
This commit is contained in:
Vendored
-4
@@ -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
|
||||
;;
|
||||
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user