Why was preuninstall script run during livecd-creator build?

Bruno Wolff III bruno at wolff.to
Thu Dec 11 06:12:01 UTC 2008


I got an error message during the install of gnubg while running livecd-creator
to build a games spin. The message was:
install-info: No such file or directory for /usr/share/info/gnubg.info
I looked at the scripts for gnubg:
bash-3.2$ rpm -q --scripts gnubg
postinstall scriptlet (using /bin/sh):
/sbin/install-info /usr/share/info/gnubg.info /usr/share/info/dir || :
touch --no-create /usr/share/icons/hicolor || :
if [ -x /usr/bin/gtk-update-icon-cache ]; then
   /usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor || :
fi
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
    /sbin/install-info --delete /usr/share/info/gnubg.info /usr/share/info/dir || :
fi
postuninstall scriptlet (using /bin/sh):
touch --no-create /usr/share/icons/hicolor || :
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor || :
fi

The only use of install-info was in the preuninstall script. It seems odd
that that would be run during an install.




More information about the fedora-list mailing list