annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
1 #?/bin/sh
26
67b4b7916036 bing4desktop-0.240208-0.2
prymula <prymula76@outlook.com>
parents: 25
diff changeset
2
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
3 MYDIR=/home
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
4
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
5 for file in $(ls ${MYDIR}) ; do\
26
67b4b7916036 bing4desktop-0.240208-0.2
prymula <prymula76@outlook.com>
parents: 25
diff changeset
6 if [[ "$file" == "lost+found" ]] ; then
67b4b7916036 bing4desktop-0.240208-0.2
prymula <prymula76@outlook.com>
parents: 25
diff changeset
7 continue
24
02409f02eea6 bing4desktop-0.240208-0
prymula <prymula76@outlook.com>
parents: 13
diff changeset
8 fi
26
67b4b7916036 bing4desktop-0.240208-0.2
prymula <prymula76@outlook.com>
parents: 25
diff changeset
9 cp bing4desktop.desktop /home/${file}/.local/share/applications
13
73fd89b46da4 bing4desktop-0.240206-3
prymula <prymula76@outlook.com>
parents:
diff changeset
10 done