Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > a42826c7aeb1ae7e5b028225b3b9dd4d > scriptlet

icewm-light-1.3.7-14.mga5.x86_64.rpm

POSTIN

/bin/sh
for app in icewm icesh icewmbg icewmhint icewm-session; do
	update-alternatives --install /usr/bin/${app} ${app} /usr/bin/${app}-light 10
done
	

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

POSTUN

/bin/sh
if [ "$1" = 0 ]; then
    	if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus; fi
	for app in icewm icesh icewmbg icewmhint icewm-session; do
		update-alternatives --remove ${app} /usr/bin/${app}-light
	done
fi