diff options
author | Holger Paradies <retabell@gmx.de> | 2023-10-31 12:07:01 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2023-10-31 12:07:01 +0100 |
commit | 8d80bb9a8d013524d50f34980e4aa31683733cad (patch) | |
tree | ab5bf7fed096f603a8896a4fec8416514534132f /backend | |
parent | 0f1f037bab95da4ccb9029a0f2364ffb56a330cf (diff) | |
download | acritoxinstaller-8d80bb9a8d013524d50f34980e4aa31683733cad.zip acritoxinstaller-8d80bb9a8d013524d50f34980e4aa31683733cad.tar.gz |
Remove installed appimage links from Desktop
Diffstat (limited to 'backend')
-rw-r--r-- | backend/modules/install_configure | 9 |
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 } |