summaryrefslogtreecommitdiffstats
path: root/network/midori/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2020-01-26 12:12:46 +0100
committer Matteo Bernardini2020-01-26 12:12:46 +0100
commit5c6dca884b084906c44487685b3076b1af9535e5 (patch)
tree539e39579797fc68f887f55276d1d3a18b2e2107 /network/midori/doinst.sh
parent192ba2be163f6c90f8b56e4d4a59c6b7ef3b1b5c (diff)
downloadslackbuilds-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.sh16
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