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