Commit d9cb0462 authored by Raphaël Hertzog's avatar Raphaël Hertzog

Fix postinst on re-installation after purge

parent 62ccd3aa
......@@ -2,10 +2,11 @@
set -e
adduser --system beef-xss --group --home /var/lib/beef-xss
adduser --quiet --system beef-xss --group --home /var/lib/beef-xss
if [ "$1" = "configure" ] && [ "$2" = "" ]; then
# Initial configuration
mkdir -p /var/lib/beef-xss
chown -R beef-xss:beef-xss /var/lib/beef-xss
fi
......
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