aboutsummaryrefslogtreecommitdiff
path: root/system/nvme-cli/doinst.sh
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-08-06 01:06:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:57:27 +0700
commited8144d8154a3ea2a9907976fd179db421353cbe (patch)
tree5997b6ce0c40d1d01b5188af4b373ca8186a4f13 /system/nvme-cli/doinst.sh
parenta56435e369061807c04e8c6640a80d114994705b (diff)
system/nvme-cli: Fix install path, remove doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/nvme-cli/doinst.sh')
-rw-r--r--system/nvme-cli/doinst.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/system/nvme-cli/doinst.sh b/system/nvme-cli/doinst.sh
deleted file mode 100644
index b5a41d1d89880..0000000000000
--- a/system/nvme-cli/doinst.sh
+++ /dev/null
@@ -1,14 +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...
-}
-
-config etc/bash_completion.d/nvme.new