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/lxqt/panel.conf.new
16 if [ -x usr/bin/update-desktop-database ]; then
17 usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
20 if [ -x usr/bin/update-mime-database ]; then
21 usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1