aboutsummaryrefslogtreecommitdiff
path: root/network/openvas-scanner/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 11:16:30 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:42:58 -0400
commit50980bad0c33c9146ebd3f574230a91a3b0ead9c (patch)
treef810685fc5e7b7132c36de3d3d32a9d64f9a79ae /network/openvas-scanner/doinst.sh
parentbfcae663de5e52aef2e39febc8a7b3281b6c1d14 (diff)
network/openvas-scanner: Removed (FTBFS)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/openvas-scanner/doinst.sh')
-rw-r--r--network/openvas-scanner/doinst.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/network/openvas-scanner/doinst.sh b/network/openvas-scanner/doinst.sh
deleted file mode 100644
index ca2e484cfc70..000000000000
--- a/network/openvas-scanner/doinst.sh
+++ /dev/null
@@ -1,22 +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 rc.openvassd.new:
-if [ -e etc/rc.d/rc.openvassd ]; then
- cp -a etc/rc.d/rc.openvassd etc/rc.d/rc.openvassd.new.incoming
- cat etc/rc.d/rc.openvassd.new > etc/rc.d/rc.openvassd.new.incoming
- mv etc/rc.d/rc.openvassd.new.incoming etc/rc.d/rc.openvassd.new
-fi
-
-config etc/rc.d/rc.openvassd.new
-config etc/rc.d/rc.openvas.conf.new
-