diff options
Diffstat (limited to 'desktop/lxpanel/doinst.sh')
-rw-r--r-- | desktop/lxpanel/doinst.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/desktop/lxpanel/doinst.sh b/desktop/lxpanel/doinst.sh deleted file mode 100644 index ac258d3ee762a..0000000000000 --- a/desktop/lxpanel/doinst.sh +++ /dev/null @@ -1,15 +0,0 @@ -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 usr/share/lxpanel/profile/default/panels/panel.new -config usr/share/lxpanel/profile/default/config.new |