diff options
author | Matteo Bernardini | 2020-02-29 10:21:37 +0100 |
---|---|---|
committer | Matteo Bernardini | 2020-02-29 10:21:37 +0100 |
commit | 37498e325fe958c6948fae9ee70e16ec9427d9a4 (patch) | |
tree | 6a9ede00269c6dd697d95d5c43739ec0741dc379 /network/midori/doinst.sh | |
parent | e672baf11d590fdc9d8bd90c2cd50fc6232efd4e (diff) | |
download | slackbuilds-current-20200229.1.tar.gz |
20200229.1 global branch merge.current-20200229.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 |