# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: package/.../atop/install.patch
# Copyright (C) 2007 - 2010 The T2 SDE Project
# 
# More information can be found in the files COPYING and README.
# 
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---

--- atop-1.25/Makefile.vanilla	2010-06-05 11:53:49.689281941 +0000
+++ atop-1.25/Makefile	2010-06-05 11:54:09.436741013 +0000
@@ -58,7 +58,7 @@
 			then cp 45atoppm $(DESTDIR)$(PMPATH2); 	\
 			chmod 0711 $(DESTDIR)$(PMPATH2)/45atoppm; fi
 		#
-		cp atop   		$(DESTDIR)$(BINPATH)/atop
+		install atop   		$(DESTDIR)$(BINPATH)/atop
 		chown root		$(DESTDIR)$(BINPATH)/atop
 		chmod 04711 		$(DESTDIR)$(BINPATH)/atop
 		ln -sf atop             $(DESTDIR)$(BINPATH)/atopsar
@@ -75,7 +75,7 @@
 		cp psaccu_atop  	$(DESTDIR)$(ROTPATH)/psaccu_atop
 		touch          	  	$(DESTDIR)$(LOGPATH)/dummy_before
 		touch            	$(DESTDIR)$(LOGPATH)/dummy_after
-		if [ -z "$(DESTDIR)" ]; then /sbin/chkconfig --add atop; fi
+
 distr: rm -f *.o
 		tar czvf /tmp/atop.tar.gz *
 ##########################################################################
