web2desk


Logs | Files | LICENSE | GitLab


1
commit 90a991124549164720464abb58d312ccd5634107
2
Author: Connor Etherington <[email protected]>
3
Date:   Fri Mar 17 21:26:32 2023 +0200
4
5
    Auto-Commit Update 17.03.2023 - 21:26:32
6
---
7
 Makefile | 6 ------
8
 1 file changed, 6 deletions(-)
9
10
diff --git a/Makefile b/Makefile
11
index 8c4f5ae..9e6baf5 100644
12
--- a/Makefile
13
+++ b/Makefile
14
@@ -5,9 +5,6 @@ INFO = $(shell uname -a)
15
 OST = $(shell lsb_release -d | sed 's|Description:\s*||')
16
 OS = $(shell lsb_release -d | sed 's|Description:\s*||'|cut -d\  -f1)
17
 
18
-FILES = $(shell for file in $(find ${PKG} -type f); do rm -rfv ${file}; 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
 endif
24
@@ -26,12 +23,9 @@ endif
25
 
26
 all: info web2desk
27
 
28
-
29
 web2desk:
30
 	@echo -e "\n\e[1;33m[+]\e[0m Installing ${PKG}...\n"
31
 	@cp -rvf ${PKG} ${DESTDIR}/ || true
32
-	@[ ! -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
33
-
34
 
35
 install: all
36