Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > adf7c331dc4d2cef26290c079a29d8eb > scriptlet

xsoldier-0.96-21mdk.i586.rpm

POSTIN

/bin/sh
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi 

if [ ! -r /var/lib/games/xsoldier.scores ]; then
   echo -e "\
110000 1 8 chmou
100000 1 8 pixel
90000 1 7 lenny
80000 1 7 dams
70000 1 6 zuno
60000 1 6 draemon
50000 1 3 hoge
40000 1 5 yoko
30000 1 5 tsuyoshi
20000 1 4 tama" > /var/lib/games/xsoldier.scores

		chown root.games /var/lib/games/xsoldier.scores
		chmod 664 /var/lib/games/xsoldier.scores
fi

POSTUN

/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi