From ede8ce81ea264ba9fc0271cbb6b25961290b80ee Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 31 Oct 2020 16:32:36 +0100 Subject: 20201031.1 global branch merge. Signed-off-by: Matteo Bernardini --- system/nvme-cli/doinst.sh | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 system/nvme-cli/doinst.sh (limited to 'system/nvme-cli/doinst.sh') 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 -- cgit v1.2.3