build: Remove root check for make install.

This commit is contained in:
orbea 2020-12-28 10:19:34 -08:00
parent 2dc384adcb
commit b7d6926556
1 changed files with 0 additions and 4 deletions

View File

@ -40,8 +40,6 @@ verbose: hiro.verbose ruby.verbose nall.verbose all;
install: all
ifeq ($(platform),windows)
else ifeq ($(shell id -un),root)
$(error "make install should not be run as root")
else ifeq ($(platform),macos)
mkdir -p ~/Library/Application\ Support/$(name)/
mkdir -p ~/Library/Application\ Support/$(name)/Database/
@ -67,8 +65,6 @@ endif
uninstall:
ifeq ($(platform),windows)
else ifeq ($(shell id -un),root)
$(error "make uninstall should not be run as root")
else ifeq ($(platform),macos)
rm -rf /Applications/$(name).app
else ifneq ($(filter $(platform),linux bsd),)