2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00
betateilchen 50cb51236c contrib/DEBIAN: revert last changes
git-svn-id: https://svn.fhem.de/fhem/trunk@15691 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2017-12-25 18:47:43 +00:00

18 lines
303 B
Bash
Executable File

#!/bin/bash
#set -x
set -e # required by lintian
set +e # Don't know how to check presence of fhem in passwd with -e
if grep -q fhem /etc/passwd; then
userdel fhem
fi
if test -f /etc/init/fhem.conf; then
rm /etc/init/fhem.conf
fi
if test -f /etc/init.d/fhem; then
rm /etc/init.d/fhem
fi