summaryrefslogtreecommitdiff
path: root/backend/modules/install_configure
diff options
context:
space:
mode:
Diffstat (limited to 'backend/modules/install_configure')
-rw-r--r--backend/modules/install_configure9
1 files changed, 9 insertions, 0 deletions
diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index 4b37074..f1d479e 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -170,5 +170,14 @@ function configure_target_purge_live_only_stuff()
rm -f $TARGET/etc/profile.d/zz-live.sh
rm -f $TARGET/usr/local/bin/enable_persistent_live.bash
rm -f "$TARGET/home/$cfg_username/Desktop/enable_persistent.desktop"
+
+ #remove appimage desktop files
+ if [ -e /run/live/medium/appimages ]; then
+ for appimages in /run/live/medium/appimages/*
+ do
+ appimage=$(basename $appimages)
+ rm -f "$TARGET/home/$cfg_username/Desktop/$appimage.desktop"
+ done
+ fi
}