diff bing4desktop/copy_desktop.sh @ 24:02409f02eea6

bing4desktop-0.240208-0
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 11:37:04 +0100
parents 73fd89b46da4
children 4797b096efab
line wrap: on
line diff
--- a/bing4desktop/copy_desktop.sh	Wed Feb 07 23:52:18 2024 +0100
+++ b/bing4desktop/copy_desktop.sh	Thu Feb 08 11:37:04 2024 +0100
@@ -1,7 +1,10 @@
 #?/bin/sh
-
+exclude=lost+found
 MYDIR=/home
 
 for file in $(ls ${MYDIR}) ; do\
-	cp bing4desktop.desktop /home/${file}/.local/share/applications
+	if [[ $file == $exclude ]]
+		then
+		cp bing4desktop.desktop /home/${file}/.local/share/applications
+	fi
 done