astromenace: fix absolute paths in INSTALL/REMOVE scripts
This commit is contained in:
parent
53a6b4f8f7
commit
b14af9f598
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ case "$ACTION" in
|
|||
post) # Pack the game data
|
||||
echo "AstroMenace: packaging game data..."
|
||||
/usr/bin/astromenace --pack --rawdata=/usr/share/astromenace/RAW_VFS_DATA \
|
||||
> /usr/share/astromenace/gamedata.log
|
||||
mv /usr/bin/gamedata.vfs /usr/share/astromenace
|
||||
> usr/share/astromenace/gamedata.log
|
||||
mv usr/bin/gamedata.vfs usr/share/astromenace
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
case "$ACTION" in
|
||||
pre) # Remove packed game data and log
|
||||
rm -f /usr/share/astromenace/gamedata.*
|
||||
rm -f usr/share/astromenace/gamedata.*
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'astromenace'
|
||||
pkgname=astromenace
|
||||
version=1.3.2
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc=AstroMenace
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
|
|
Loading…
Reference in a new issue