diff bing4desktop/remove_desktop.sh @ 26:67b4b7916036

bing4desktop-0.240208-0.2
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 11:56:27 +0100
parents 4797b096efab
children
line wrap: on
line diff
--- a/bing4desktop/remove_desktop.sh	Thu Feb 08 11:43:26 2024 +0100
+++ b/bing4desktop/remove_desktop.sh	Thu Feb 08 11:56:27 2024 +0100
@@ -1,10 +1,10 @@
 #?/bin/sh
-exclude=lost+found
+
 MYDIR=/home
 
 for file in $(ls ${MYDIR}) ; do\
-	if [[ $file != $exclude ]]
-		then
-		rm /home/${file}/.local/share/applications/bing4desktop.desktop
+	if [[ "$file" == "lost+found" ]] ; then
+		continue
 	fi
+	rm /home/${file}/.local/share/applications/bing4desktop.desktop
 done