web2desk


Logs | Files | README | LICENSE | GitLab


1
commit d2789bbdd28ea3379ee27ac240312631bb219d3a
2
Author: Connor Etherington <[email protected]>
3
Date:   Fri Mar 17 21:24:55 2023 +0200
4
5
    Auto-Commit Update 17.03.2023 - 21:24:55
6
---
7
 Makefile | 2 +-
8
 1 file changed, 1 insertion(+), 1 deletion(-)
9
10
diff --git a/Makefile b/Makefile
11
index bd55972..8c4f5ae 100644
12
--- a/Makefile
13
+++ b/Makefile
14
@@ -30,7 +30,7 @@ all: info web2desk
15
 web2desk:
16
 	@echo -e "\n\e[1;33m[+]\e[0m Installing ${PKG}...\n"
17
 	@cp -rvf ${PKG} ${DESTDIR}/ || true
18
-	@[ ! -d ${DESTDIR}/usr/share/web2desk ] && echo -e "\n\e[1;31m[-]\e[0m Please ensure you have sufficient premission to install ${PKG}." || true
19
+	@[ ! -d ${DESTDIR}/usr/share/${PKG} ] || [ ! -d ${DESTDIR}/usr/share/${PKG}/${PKG} ] && echo -e "\n\e[1;31m[-]\e[0m Please ensure you have sufficient premission to install ${PKG}." || true
20
 
21
 
22
 install: all