Commit 352dcee5 authored by Luciano's avatar Luciano

Fix apprecommender.postrm

parent b282112b
...@@ -2,8 +2,12 @@ ...@@ -2,8 +2,12 @@
set -e set -e
if [ "$1" = "purge"]; then DATADIR="/var/lib/apprecommender"
rm -rf /var/lib/apprecommender
# remove data directory on purge
if [ "$1" = "purge" ] && [ -d "$DATADIR" ]
then
rm -rf "$DATADIR"
fi fi
#DEBHELPER# #DEBHELPER#
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