Commit 352dcee5 authored by Luciano's avatar Luciano

Fix apprecommender.postrm

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