Commits

Bryan O'Sullivan committed 4f17713

Don't attempt to install as root any more.
This is unnecessary if running as root already, and won't work
if not.
Taken from netplug-1.2.7-installopts.patch in Fedora Core 3.

  • Participants
  • Parent commits 1481643

Comments (0)

Files changed (1)

 scriptdir ?= $(prefix)/etc/netplug.d
 mandir ?= $(prefix)/usr/share/man
 
-install_opts := -o root -g root
+install_opts :=
 
 CFLAGS += -Wall -Werror -std=gnu99 -DNP_ETC_DIR='"$(etcdir)"' \
 	-DNP_SCRIPT_DIR='"$(scriptdir)"' -ggdb3 -O3 -DNP_VERSION='"$(version)"'