PKGBUILDs/extra/dopewars/dopewars.install

21 lines
366 B
Text
Raw Normal View History

2009-10-10 02:23:22 +00:00
post_install() {
if [ ! -e /var/games/dopewars.sco ]; then
mkdir -p /var/games
touch /var/games/dopewars.sco
chown root:games /var/games/dopewars.sco
chmod 664 /var/games/dopewars.sco
fi
}
post_upgrade() {
post_install
}
post_remove() {
if [ -e /var/games/dopewars.sco ]; then
rm /var/games/dopewars.sco
fi
}
# vim:set ts=2 sw=2 et: