summaryrefslogtreecommitdiffstats
path: root/network/midori/doinst.sh
diff options
context:
space:
mode:
author Matteo Bernardini2019-03-30 08:53:10 +0100
committer Matteo Bernardini2019-03-30 08:53:10 +0100
commit37f81333f74286adfe76ea53c2b701b0117e0776 (patch)
tree2a09dae8766cfae8cb4d655a42477e0d6a2a0bf8 /network/midori/doinst.sh
parent158e3ce0a80a1028c48af5d639f5fde39c94af3c (diff)
downloadslackbuilds-current-20190330.1.tar.gz
20190330.1 global branch merge.current-20190330.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