diff options
author | Matteo Bernardini | 2020-01-01 04:15:34 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-01-01 04:15:34 +0100 |
commit | 7b5934635d48ae01b924eb12042024b61f21c226 (patch) | |
tree | 598bd992cc39bfc71a10d0018119b1435d5ba554 /network/midori/doinst.sh | |
parent | 82bbd880da5d554ddb98a82fcf8c17cc2131d56a (diff) | |
download | slackbuilds-85849504f2dc69ee80c4ee61c6adbc9916843ae0.tar.gz |
20200101.1 global branch merge.current-20200101.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 |