aboutsummaryrefslogtreecommitdiff
path: root/network/greenbone-security-assistant/doinst.sh
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-02-28 07:10:14 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:38 +0700
commite122832496c483bc3aa1e7185faf65c80d604f8b (patch)
treefc0c4332b74f34ca5f42020ed5fd6848939bb76e /network/greenbone-security-assistant/doinst.sh
parent626582e5bf7a50fc3a6316b1332b55c90a0c3702 (diff)
network/greenbone-security-assistant: Removed.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/greenbone-security-assistant/doinst.sh')
-rw-r--r--network/greenbone-security-assistant/doinst.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/network/greenbone-security-assistant/doinst.sh b/network/greenbone-security-assistant/doinst.sh
deleted file mode 100644
index f431bbcc60d33..0000000000000
--- a/network/greenbone-security-assistant/doinst.sh
+++ /dev/null
@@ -1,26 +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...
-}
-
-preserve_perms() {
- NEW="$1"
- OLD="$(dirname $NEW)/$(basename $NEW .new)"
- if [ -e $OLD ]; then
- cp -a $OLD ${NEW}.incoming
- cat $NEW > ${NEW}.incoming
- mv ${NEW}.incoming $NEW
- fi
- config $NEW
-}
-
-preserve_perms etc/rc.d/rc.gsad.new
-config etc/openvas/gsad_log.conf.new