diff options
author | Matteo Bernardini | 2019-08-31 16:24:12 +0200 |
---|---|---|
committer | Matteo Bernardini | 2019-08-31 16:24:12 +0200 |
commit | 82a6c2e466d4bdb1017e46447e56b0bce264f84b (patch) | |
tree | c13bd3ae8c2eae3546619b0d2912dbee78400d79 /network/midori/doinst.sh | |
parent | 155fd2582041b19a6ca7ca2efa805052553bf90a (diff) | |
download | slackbuilds-current-20190831.1.tar.gz |
20190831.1 global branch merge.current-20190831.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 |