Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 74614a0fee97ec05a33c8bfa049cd4e9 > scriptlet

icewm-light-1.3.7-12.mga4.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