web2desk


Logs | Files | README | LICENSE | GitLab


1
commit cc526e4bf4363dfb43eb5cd17422550d0e24afce
2
Author: Connor Etherington <[email protected]>
3
Date:   Fri Mar 17 21:22:12 2023 +0200
4
5
    Auto-Commit Update 17.03.2023 - 21:22:12
6
---
7
 Makefile | 6 +++---
8
 1 file changed, 3 insertions(+), 3 deletions(-)
9
10
diff --git a/Makefile b/Makefile
11
index dce10f8..bd55972 100644
12
--- a/Makefile
13
+++ b/Makefile
14
@@ -6,7 +6,7 @@ OST = $(shell lsb_release -d | sed 's|Description:\s*||')
15
 OS = $(shell lsb_release -d | sed 's|Description:\s*||'|cut -d\  -f1)
16
 
17
 FILES = $(shell for file in $(find ${PKG} -type f); do rm -rfv ${file}; done)
18
-DIRS = $(shell for loc in usr share licenses; do rmdir ${PKGDIR}/$loc/web2desk || continue ; done)
19
+DIRS = $(shell for loc in usr share licenses; do rmdir ${DESTDIR}/$loc/web2desk || continue ; done)
20
 
21
 ifeq ($(OS),Ubuntu)
22
 	PACKAGE_MANAGER = apt
23
@@ -29,8 +29,8 @@ all: info web2desk
24
 
25
 web2desk:
26
 	@echo -e "\n\e[1;33m[+]\e[0m Installing ${PKG}...\n"
27
-	@cp -rvf ${PKG} ${PKGDIR}/ || true
28
-	@[ ! -d ${PKGDIR}/usr/share/web2desk ] && echo -e "\n\e[1;31m[-]\e[0m Please ensure you have sufficient premission to install ${PKG}." || true
29
+	@cp -rvf ${PKG} ${DESTDIR}/ || true
30
+	@[ ! -d ${DESTDIR}/usr/share/web2desk ] && echo -e "\n\e[1;31m[-]\e[0m Please ensure you have sufficient premission to install ${PKG}." || true
31
 
32
 
33
 install: all