annotate bing4desktop/copy_desktop.sh @ 28:c5f6a572bc91

bing4desktop-0.240208-0.4
author prymula
date Thu, 08 Feb 2024 12:56:34 +0100
parents
children 9bcb32b7526a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
1 #!/bin/sh
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
2
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
3 MYDIR=/home
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
4
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
5 for file in $(ls ${MYDIR}) ; do\
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
6 if [ $file == $'lost+found' ] ; then
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
7 continue
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
8 fi
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
9 cp bing4desktop.desktop /home/${file}/.local/share/applications
c5f6a572bc91 bing4desktop-0.240208-0.4
prymula
parents:
diff changeset
10 done