1
0
minetest-engine-multicraft2/misc/debian/multicraft-server.postrm
mckaygerhard b420f18423 reorganize distro files for packaging: deb/rpm/apk
* move debian directory to misc/debian
* move rmp shit distro directory the spec file and changelog
* move the alpine directory in misc with a minimal started files
* still there's an error on spec file for name of the tarball
* all of those files it depends of the previous commit that gives init/shistemd
2022-12-30 12:19:48 -04:00

16 lines
278 B
Bash

#!/bin/sh
set -e
if [ "$1" = "purge" ] ; then
if getent passwd multicraft >/dev/null; then
deluser --remove-home multicraft >/dev/null
fi
rm -fr /var/games/multicraft
rm -fr /var/log/multicraft
rmdir --ignore-fail-on-non-empty /var/games
fi
#DEBHELPER#