POSTIN
/bin/sh
if [ "$1" = "1" ]; then
echo ""
echo "You need to copy pak0.pk3 from your Quake3 CD into /usr/share/games/quake3/baseq3/."
echo "Or if you have got a Windows installation of Q3 make a symlink to save space."
echo "You may place it in ~/.q3a/baseq3/ but you will have to put all pak files there (or make symlinks)."
echo ""
fi
Triggers
quake3-common <
1.33
/bin/sh
if [ ! -f /usr/share/games/quake3/baseq3/pak0.pk3 ]; then
# Better don't link/move automatically, /opt may be on other partition than /usr
echo ""
echo "Quake 3 data location has changed, link or move pak0.pk3 to /usr/share/games/quake3/baseq3/."
echo ""
fi
if [ "$1" = "0" ]; then
/usr/lib/rpm/user_group.sh user del quake3
/usr/lib/rpm/user_group.sh group del quake3
fi