mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
18 lines
337 B
Text
18 lines
337 B
Text
|
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
|
||
|
}
|