It is quite useful even to non-privileged users and doesn't require any privileges to work, except for maybe -v. Signed-off-by: Jonathan Hettwer <j2468h@xxxxxxxxx> --- Only tested by running `make DESTDIR="$PWD" install` and checking that sestatus ends up at /usr/bin/sestatus policycoreutils/sestatus/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/policycoreutils/sestatus/Makefile b/policycoreutils/sestatus/Makefile index 8c4f45f8..ac113814 100644 --- a/policycoreutils/sestatus/Makefile +++ b/policycoreutils/sestatus/Makefile @@ -1,7 +1,7 @@ # Installation directories. LINGUAS ?= ru PREFIX ?= /usr -SBINDIR ?= $(PREFIX)/sbin +BINDIR ?= $(PREFIX)/bin MANDIR = $(PREFIX)/share/man ETCDIR ?= /etc @@ -16,8 +16,8 @@ sestatus: sestatus.o install: all [ -d $(DESTDIR)$(MANDIR)/man8 ] || mkdir -p $(DESTDIR)$(MANDIR)/man8 [ -d $(DESTDIR)$(MANDIR)/man5 ] || mkdir -p $(DESTDIR)$(MANDIR)/man5 - -mkdir -p $(DESTDIR)$(SBINDIR) - install -m 755 sestatus $(DESTDIR)$(SBINDIR) + -mkdir -p $(DESTDIR)$(BINDIR) + install -m 755 sestatus $(DESTDIR)$(BINDIR) install -m 644 sestatus.8 $(DESTDIR)$(MANDIR)/man8 install -m 644 sestatus.conf.5 $(DESTDIR)$(MANDIR)/man5 for lang in $(LINGUAS) ; do \ -- 2.30.0