PKGBUILDs/community/ltris/ltris.install

18 lines
337 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
post_install() {
touch /var/games/ltris.hscr
chown root:games /var/games/ltris.hscr
chmod 664 /var/games/ltris.hscr
}
pre_upgrade() {
if [ -e /var/ltris.hscr ]; then
install -d /var/games
cp /var/ltris.hscr /var/games
fi
}
post_upgrade() {
chown root:games /var/games/ltris.hscr
chmod 664 /var/games/ltris.hscr
}