mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +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
|
case "$1" in
|
||||||
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
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