Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 0cbe247669b8795ae6e6c03ca6573e2e > scriptlet

gnobots2-2.30.1-1mdv2010.1.x86_64.rpm

PREIN

/bin/sh
[ -d /var/games ] || mkdir -p /var/games
for i in \
	gnobots2.classic_robots-safe \
	gnobots2.classic_robots-super-safe \
	gnobots2.classic_robots \
	gnobots2.nightmare-safe \
	gnobots2.nightmare-super-safe \
	gnobots2.nightmare \
	gnobots2.robots2-safe \
	gnobots2.robots2-super-safe \
	gnobots2.robots2 \
	gnobots2.robots2_easy-safe \
	gnobots2.robots2_easy-super-safe \
	gnobots2.robots2_easy \
	gnobots2.robots_with_safe_teleport-safe \
	gnobots2.robots_with_safe_teleport-super-safe \
	gnobots2.robots_with_safe_teleport \
; do
  /usr/share/rpm-helper/create-file gnome-games $1 /var/games/$i.scores games games 0664 
  if [ -f "/var/games/$i.scores" -a ! -s "/var/games/$i.scores" ]; then
    echo "0.000000 `date +%s` gnome" >> /var/games/$i.scores
  fi
done

PREUN

/bin/sh
if [ "$1" = "0" -a -x /usr/bin/gconftool-2 ]; then 
SCHEMAS="" 
for SCHEMA in gnobots2 ; do 
  SCHEMAS="$SCHEMAS /etc/gconf/schemas/$SCHEMA.schemas" 
done 
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` /usr/bin/gconftool-2 --makefile-uninstall-rule  $SCHEMAS > /dev/null || true ; fi