summaryrefslogtreecommitdiffstats
path: root/network/openvswitch/doinst.sh
diff options
context:
space:
mode:
author Robby Workman2011-04-06 04:00:27 +0200
committer Robby Workman2011-04-06 04:00:27 +0200
commite3e6a8e2e8aaae17ad1996b70d2bfddb295506e1 (patch)
tree5ccac38f7132e83f89056c189500d27333713f36 /network/openvswitch/doinst.sh
parenteddeeef9154c8dfd895e667facbdfc32a95e7f34 (diff)
downloadslackbuilds-e3e6a8e2e8aaae17ad1996b70d2bfddb295506e1.tar.gz
network/openvswitch: Removed (build failure)
The code in upstream's git repo might build, but it's not even in a beta status yet, so it will have to wait (but of course the SBo maintainer is free to begin testing already) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/openvswitch/doinst.sh')
-rw-r--r--network/openvswitch/doinst.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/network/openvswitch/doinst.sh b/network/openvswitch/doinst.sh
deleted file mode 100644
index 5f98269554..0000000000
--- a/network/openvswitch/doinst.sh
+++ /dev/null
@@ -1,27 +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.openvswitch.new
-
-depmod -A