changeset 25:4797b096efab

bing4desktop-0.240208-0.1
author prymula <prymula76@outlook.com>
date Thu, 08 Feb 2024 11:43:26 +0100
parents 02409f02eea6
children 67b4b7916036
files bing4desktop/Makefile bing4desktop/copy_desktop.sh bing4desktop/remove_desktop.sh
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/bing4desktop/Makefile	Thu Feb 08 11:37:04 2024 +0100
+++ b/bing4desktop/Makefile	Thu Feb 08 11:43:26 2024 +0100
@@ -17,7 +17,7 @@
 	rm $(prefix)/share/bing4desktop/bing.ico
 	rm $(prefix)/share/bing4desktop/bing.png
 	rm $(prefix)/share/applications/bing4desktop.desktop
-	rm /etc/xdg/autostart/bing4desktop.desktop
-	#rmdir $(prefix)/share/bing4desktop/
+	#rm /etc/xdg/autostart/bing4desktop.desktop
+	rmdir $(prefix)/share/bing4desktop/
 	$(shell ./copy_desktop.sh)
 .PHONY: uninstall
--- a/bing4desktop/copy_desktop.sh	Thu Feb 08 11:37:04 2024 +0100
+++ b/bing4desktop/copy_desktop.sh	Thu Feb 08 11:43:26 2024 +0100
@@ -3,7 +3,7 @@
 MYDIR=/home
 
 for file in $(ls ${MYDIR}) ; do\
-	if [[ $file == $exclude ]]
+	if [[ $file != $exclude ]]
 		then
 		cp bing4desktop.desktop /home/${file}/.local/share/applications
 	fi
--- a/bing4desktop/remove_desktop.sh	Thu Feb 08 11:37:04 2024 +0100
+++ b/bing4desktop/remove_desktop.sh	Thu Feb 08 11:43:26 2024 +0100
@@ -3,7 +3,7 @@
 MYDIR=/home
 
 for file in $(ls ${MYDIR}) ; do\
-	if [[ $file == $exclude ]]
+	if [[ $file != $exclude ]]
 		then
 		rm /home/${file}/.local/share/applications/bing4desktop.desktop
 	fi