summaryrefslogtreecommitdiffstats
path: root/network/midori/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2019-11-02 09:32:55 +0100
committer Matteo Bernardini2019-11-02 09:32:55 +0100
commita5dc6f94e982a5133196f66fb2d33756063bbe57 (patch)
treeea496620a3bb4185e47b08377b9c82c640f8058c /network/midori/doinst.sh
parent833a418a9448f32874014c89bf70b7f065bdb220 (diff)
downloadslackbuilds-current-20191102.1.tar.gz
20191102.1 global branch merge.current-20191102.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