3 OLD="$(dirname $NEW)/$(basename $NEW .new)"
4 # If there's no config file by that name, mv it over:
7 elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
8 # toss the redundant copy
11 # Otherwise, we leave the .new copy for the admin to consider...
14 config etc/xdg/midori/search.new
15 config etc/xdg/midori/extensions/adblock/config.new
17 if [ -x /usr/bin/update-desktop-database ]; then
18 /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
21 if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
22 if [ -x /usr/bin/gtk-update-icon-cache ]; then
23 /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1