diff options
author | Matteo Bernardini | 2020-01-26 12:12:46 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-01-26 12:12:46 +0100 |
commit | 5c6dca884b084906c44487685b3076b1af9535e5 (patch) | |
tree | 539e39579797fc68f887f55276d1d3a18b2e2107 /network/midori/doinst.sh | |
parent | 192ba2be163f6c90f8b56e4d4a59c6b7ef3b1b5c (diff) | |
download | slackbuilds-cc317f001100cf6f1bde4882655610e376c2f58e.tar.gz |
20200126.1 global branch merge.current-20200126.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/midori/doinst.sh')
-rw-r--r-- | network/midori/doinst.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/network/midori/doinst.sh b/network/midori/doinst.sh index 8505e6eaff..4a25de5e6f 100644 --- a/network/midori/doinst.sh +++ b/network/midori/doinst.sh @@ -1,19 +1,3 @@ -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/xdg/midori/search.new -config etc/xdg/midori/extensions/adblock/config.new - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi |