PKGBUILDs/extra/rockdodger/rockdodger.install

16 lines
330 B
Text
Raw Normal View History

2009-10-10 02:23:22 +00:00
post_install() {
touch var/games/rockdodger.highscore
chown root:games var/games/rockdodger.highscore
chmod 664 var/games/rockdodger.highscore
}
pre_upgrade() {
if [ -e usr/share/rockdodger/.highscore ]; then
mv usr/share/rockdodger/.highscore var/games/rockdodger.highscore
fi
}
post_upgrade() {
post_install
}