diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-04-01 11:03:32 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-04-03 09:59:46 -0500 |
commit | 63182e6a2fdbd9fcd14c99a49cce2625e140a62f (patch) | |
tree | 3d9cd8ad1428286ae078581d2401a70bb14c030a /network/iscsitarget/doinst.sh | |
parent | 851918807288e1388f97ca9dd96dd89544a08f64 (diff) | |
download | slackbuilds-63182e6a2fdbd9fcd14c99a49cce2625e140a62f.tar.gz |
network/iscsitarget: Removed (build failure / abandoned?)
This one doesn't build any more, and it seems that the
maintainer *might* have abandoned it. If that's not
correct, then it can certainly be re-added after 13.37
is released :-)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/iscsitarget/doinst.sh')
-rw-r--r-- | network/iscsitarget/doinst.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/network/iscsitarget/doinst.sh b/network/iscsitarget/doinst.sh deleted file mode 100644 index 5643f528ba..0000000000 --- a/network/iscsitarget/doinst.sh +++ /dev/null @@ -1,31 +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.iscsi-target.new -config etc/iet/initiators.allow.new -config etc/iet/targets.allow.new -config etc/iet/ietd.conf.new - -chroot . /sbin/depmod -a 2>/dev/null 1>/dev/null - |