comparison 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
comparison
equal deleted inserted replaced
25:4797b096efab 26:67b4b7916036
1 #?/bin/sh 1 #?/bin/sh
2 exclude=lost+found 2
3 MYDIR=/home 3 MYDIR=/home
4 4
5 for file in $(ls ${MYDIR}) ; do\ 5 for file in $(ls ${MYDIR}) ; do\
6 if [[ $file != $exclude ]] 6 if [[ "$file" == "lost+found" ]] ; then
7 then 7 continue
8 rm /home/${file}/.local/share/applications/bing4desktop.desktop
9 fi 8 fi
9 rm /home/${file}/.local/share/applications/bing4desktop.desktop
10 done 10 done