20 lines
406 B
Bash
Executable File
20 lines
406 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
case "$1" in
|
|
purge)
|
|
rm -rf /etc/ezcoo-usb-control
|
|
if id -u ezcoo > /dev/null 2>&1; then
|
|
deluser --quiet ezcoo || true
|
|
fi
|
|
if getent group ezcoo > /dev/null 2>&1; then
|
|
delgroup --quiet ezcoo || true
|
|
fi
|
|
if [ -d /run/systemd/system ]; then
|
|
systemctl daemon-reload
|
|
fi
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|