diff options
Diffstat (limited to 'EndoForge/Makefile')
-rw-r--r-- | EndoForge/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EndoForge/Makefile b/EndoForge/Makefile index 4619d49..69b3066 100644 --- a/EndoForge/Makefile +++ b/EndoForge/Makefile | |||
@@ -10,12 +10,12 @@ endif | |||
10 | 10 | ||
11 | ifeq ($(shell id -u),0) | 11 | ifeq ($(shell id -u),0) |
12 | SUDO = | 12 | SUDO = |
13 | HAVE_ROOT = y | ||
13 | else | 14 | else |
14 | SUDO = sudo | 15 | SUDO = sudo |
16 | HAVE_ROOT != sudo -v && echo y || true | ||
15 | endif | 17 | endif |
16 | 18 | ||
17 | HAVE_ROOT != $(SUDO) true && echo y || true | ||
18 | |||
19 | USER != echo "$${SUDO_USER:-$$(id -un)}" | 19 | USER != echo "$${SUDO_USER:-$$(id -un)}" |
20 | 20 | ||
21 | BROWSER != 2>/dev/null which xdg-open || which w3m || which links || which elinks | 21 | BROWSER != 2>/dev/null which xdg-open || which w3m || which links || which elinks |