From b7d69265567021a0c61e05069d591e379384f5c3 Mon Sep 17 00:00:00 2001 From: orbea Date: Mon, 28 Dec 2020 10:19:34 -0800 Subject: [PATCH] build: Remove root check for make install. --- bsnes/target-bsnes/GNUmakefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bsnes/target-bsnes/GNUmakefile b/bsnes/target-bsnes/GNUmakefile index c693a2ed..effa6b9d 100644 --- a/bsnes/target-bsnes/GNUmakefile +++ b/bsnes/target-bsnes/GNUmakefile @@ -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),)