Sophie

Sophie

distrib > Mandriva > cooker > x86_64 > by-pkgid > 798c13eb2b782b8c8f1900d23bffd8d2 > scriptlet

mandriva-xfce-config-Powerpack-2011.0-9.noarch.rpm

PREIN

/bin/sh
if [ -d /var/lib/mandriva/xfce-profiles/Powerpack ]; then
  rm -rf /var/lib/mandriva/xfce-profiles/Powerpack
  update-alternatives --remove-all xfce-config
fi

POSTIN

/bin/sh
update-alternatives --install /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml xfce-config /var/lib/mandriva/xfce-profiles/Powerpack/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml 10

POSTUN

/bin/sh
if ! [ -e /var/lib/mandriva/xfce-profiles/Powerpack ]; then
  update-alternatives --remove xfce-config /var/lib/mandriva/xfce-profiles/Powerpack/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
fi