PREIN
/bin/sh
if [ -d /var/lib/mageia/lxde-profiles/Default ]; then
rm -rf /var/lib/mageia/lxde-profiles/Default
fi
POSTIN
/bin/sh
update-alternatives --install /etc/xdg/lxsession/LXDE/desktop.conf lxde-config /var/lib/mageia/lxde-profiles/Default/desktop.conf 10
POSTUN
/bin/sh
if ! [ -e /var/lib/mageia/lxde-profiles/Default ]; then
update-alternatives --remove lxde-config /var/lib/mageia/lxde-profiles/Default/desktop.conf
fi
Triggers
mageia-lxde-config-Default <
0.5
/bin/sh
update-alternatives --remove lxde-config /var/lib/mageia/lxde-profiles/Default/config