diff bing4desktop/copy_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/copy_desktop.sh	Thu Feb 08 11:43:26 2024 +0100
+++ b/bing4desktop/copy_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
-		cp bing4desktop.desktop /home/${file}/.local/share/applications
+	if [[ "$file" == "lost+found" ]] ; then
+		continue
 	fi
+	cp bing4desktop.desktop /home/${file}/.local/share/applications
 done