1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-05 22:36:16 +00:00
ympd/debian/postrm
2018-09-17 18:33:42 +01:00

10 lines
287 B
Plaintext
Executable File

rm -v -fr /var/lib/mympd
rm -v -f /usr/lib/systemd/system/mympd.service
rmdir -v /usr/share/{mympd/htdocs/,mympd/}
getent passwd mympd > /dev/null
echo "Removing mympd user and group"
[ "$?" != "2" ] && userdel -r mympd
getent group mympd > /dev/null
[ "$?" != "2" ] && groupdel mympd