Skip to content

Commit d0b7b72

Browse files
committed
build: Remove root check for make install.
1 parent be0ee76 commit d0b7b72

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bsnes/target-bsnes/GNUmakefile

-4
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ verbose: hiro.verbose ruby.verbose nall.verbose all;
4040

4141
install: all
4242
ifeq ($(platform),windows)
43-
else ifeq ($(shell id -un),root)
44-
$(error "make install should not be run as root")
4543
else ifeq ($(platform),macos)
4644
mkdir -p ~/Library/Application\ Support/$(name)/
4745
mkdir -p ~/Library/Application\ Support/$(name)/Database/
@@ -67,8 +65,6 @@ endif
6765

6866
uninstall:
6967
ifeq ($(platform),windows)
70-
else ifeq ($(shell id -un),root)
71-
$(error "make uninstall should not be run as root")
7268
else ifeq ($(platform),macos)
7369
rm -rf /Applications/$(name).app
7470
else ifneq ($(filter $(platform),linux bsd),)

0 commit comments

Comments
 (0)