| diff --git a/sestatus/Makefile b/sestatus/Makefile |
| index 3dbb792..d5d80cb 100644 |
| --- a/sestatus/Makefile |
| +++ b/sestatus/Makefile |
| @@ -22,6 +22,7 @@ install: all |
| # Some tools hard code /usr/sbin/sestatus ; add a compatibility symlink |
| # install will overwrite a symlink, so create the symlink before calling |
| # install to allow distributions with BINDIR == SBINDIR |
| + rm -f $(DESTDIR)$(SBINDIR)/sestatus |
| ln -sf --relative $(DESTDIR)$(BINDIR)/sestatus $(DESTDIR)$(SBINDIR) |
| install -m 755 sestatus $(DESTDIR)$(BINDIR) |
| install -m 644 sestatus.8 $(DESTDIR)$(MANDIR)/man8 |