mambabase.sh: remove first-boot autostart file also if in new xdg location for autostart

This commit is contained in:
Silvan Calarco 2015-04-30 16:41:50 +02:00
parent e26a2de609
commit 1d2c278c24

View File

@ -106,6 +106,8 @@ if [ "$INSTALL_BASE" = "1" ]; then
# first time: remove mambabase from autostart
[ -e /home/$USER/.kde4/Autostart/mambabase.desktop ] && \
rm -f /home/$USER/.kde4/Autostart/mambabase.desktop
[ -e /home/$USER/.config/autostart/mambabase.desktop ] && \
rm -f /home/$USER/.config/autostart/mambabase.desktop
# ugly workaround: don't have permissions to rm file in /etc/xdg/autostart
[ -e /etc/xdg/autostart/mambabase.desktop ] && \
> /etc/xdg/autostart/mambabase.desktop