diff options
-rwxr-xr-x | debian/postinst | 13 | ||||
-rwxr-xr-x | debian/postrm | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..d622001 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in +configure) + chown -R www-data: /var/lib/plinth /var/log/plinth + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/postrm b/debian/postrm new file mode 100755 index 0000000..73d0629 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in +purge) + rm -rf /var/log/plinth /var/lib/plinth + ;; +esac + +#DEBHELPER# + +exit 0 |