Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37712879
en ru br
ALT Linux repos
S:5.5-alt1

Group :: Security/Networking
RPM: t50

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: t50-5.5-alt1-drop_checkroot.patch
Download


diff --git a/Makefile b/Makefile
index 8f0c6cb..938f672 100644
--- a/Makefile
+++ b/Makefile
@@ -131,11 +131,9 @@ clean:
 	@echo Temporary failes deleted.
 
 install:
-	$(checkroot)
 	gzip -9c doc/t50.8 > $(RELEASE_DIR)/t50.8.gz
-	install $(RELEASE_DIR)/t50 /usr/sbin/
-	install -m 0644 $(RELEASE_DIR)/t50.8.gz $(MAN_DIR)/
+	install -m 755 -D $(RELEASE_DIR)/t50 $(DESTDIR)/usr/sbin/t50
+	install -m 0644 -D $(RELEASE_DIR)/t50.8.gz $(DESTDIR)$(MAN_DIR)/t50.8.gz
 
 uninstall:
-	$(checkroot)
 	-rm -f $(MAN_DIR)/t50.8.gz /usr/sbin/t50
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin