Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > fbfe643291ff09b5a3819acffd11c282 > scriptlet

gcc-g77-2.96-0.63.1mdk.i586.rpm

POSTIN

/bin/sh
update-alternatives --install /usr/bin/g77 g77 /usr/bin/g77-2.96 10 --slave /usr/bin/f77 f77 /usr/bin/g77-2.96
# (gb) 2.96-0.59mdk: remove binary if not already alternativeszificated (primary is not a symlink)
[ ! -L /usr/bin/g77 ] && rm -f /usr/bin/g77
[ -e /usr/bin/g77 ] || update-alternatives --auto g77

POSTUN

/bin/sh
[ $1 = 0 ] || exit 0
update-alternatives --remove g77 /usr/bin/g77-2.96