1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-27 19:30:27 +00:00
ympd/debian/postrm

10 lines
287 B
Plaintext
Raw Normal View History

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