mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
21 lines
366 B
Text
21 lines
366 B
Text
![]() |
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:
|