From 8d80bb9a8d013524d50f34980e4aa31683733cad Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Tue, 31 Oct 2023 12:07:01 +0100 Subject: Remove installed appimage links from Desktop --- backend/modules/install_configure | 9 +++++++++ 1 file changed, 9 insertions(+) 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 } -- cgit v1.0