diff options
author | dsomero <xgizzmo@gmail.com> | 2010-05-21 08:20:49 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-24 16:06:16 -0500 |
commit | d6ba029966e2277cbcdc04e19108a77459e2722e (patch) | |
tree | 178121e18f411d7ed5cb2c65cd08a6080906bf4d /system/pcp/doinst.sh | |
parent | a1433c3c2dd36ff7fae78c5f6c86f3270fd794f5 (diff) | |
download | slackbuilds-d6ba029966e2277cbcdc04e19108a77459e2722e.tar.gz |
system/pcp: Removed (download link broken)
Diffstat (limited to 'system/pcp/doinst.sh')
-rw-r--r-- | system/pcp/doinst.sh | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/system/pcp/doinst.sh b/system/pcp/doinst.sh deleted file mode 100644 index 9eada9da81..0000000000 --- a/system/pcp/doinst.sh +++ /dev/null @@ -1,37 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -# Keep same perms on pcp.new: -if [ -e etc/rc.d/pcp ]; then - cp -a etc/rc.d/pcp etc/rc.d/pcp.new.incoming - cat etc/rc.d/pcp.new > etc/rc.d/pcp.new.incoming - mv etc/rc.d/pcp.new.incoming etc/rc.d/pcp.new -fi -# Keep same perms on pmie.new: -if [ -e etc/rc.d/pmie ]; then - cp -a etc/rc.d/pmie etc/rc.d/pmie.new.incoming - cat etc/rc.d/pmie.new > etc/rc.d/pmie.new.incoming - mv etc/rc.d/pmie.new.incoming etc/rc.d/pmie.new -fi -# Keep same perms on pmproxy.new: -if [ -e etc/rc.d/pmproxy ]; then - cp -a etc/rc.d/pmproxy etc/rc.d/rc.pmproxy.new.incoming - cat etc/rc.d/pmproxy.new > etc/rc.d/pmproxy.new.incoming - mv etc/rc.d/pmproxy.new.incoming etc/rc.d/pmproxy.new -fi - -config etc/rc.d/pcp.new -config etc/rc.d/pmie.new -config etc/rc.d/pmproxy.new -config etc/pcp.conf.new - |