4d44d98648
The packed file gamedata.vfs is now created in the post install stage and removed in the pre remove stage. This allows cross builds to work, because AstroMenace does not have to be run on the host.
8 lines
270 B
Text
8 lines
270 B
Text
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
|
|
;;
|
|
esac
|