aboutsummaryrefslogtreecommitdiff
path: root/desktop/sun/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/sun/doinst.sh')
-rw-r--r--desktop/sun/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/sun/doinst.sh b/desktop/sun/doinst.sh
index 2c94ccc544..f9996bc504 100644
--- a/desktop/sun/doinst.sh
+++ b/desktop/sun/doinst.sh
@@ -13,3 +13,8 @@ config etc/sun/sun.toml.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+
+for file in sun_daemon.desktop ; do
+ cmp etc/xdg/autostart/${file} etc/xdg/autostart/${file}.sample 2> /dev/null && \
+ rm etc/xdg/autostart/${file}.sample
+done