diff options
author | Matteo Bernardini | 2020-05-16 08:40:20 +0200 |
---|---|---|
committer | Matteo Bernardini | 2020-05-16 08:40:20 +0200 |
commit | 24d138810ffcc8f587a8b5738055b391d5557876 (patch) | |
tree | 36cb94ee167544a9b47bb0977f363ad1d9a9269c /system/nvme-cli/doinst.sh | |
parent | ba2748231a15ec48e202d1266310f7b2ac19f831 (diff) | |
download | slackbuilds-24d138810ffcc8f587a8b5738055b391d5557876.tar.gz |
20200516.1 global branch merge.current-20200516.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/nvme-cli/doinst.sh')
-rw-r--r-- | system/nvme-cli/doinst.sh | 14 |
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 b5a41d1d89..0000000000 --- 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 |