slackbuilds_ponce/desktop/enlightenment/doinst.sh
Aleksandar Samardzic 3f2986098e desktop/enlightenment: Updated for version 0.16.999.55225.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-02-06 16:16:50 -06:00

12 lines
241 B
Bash

config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
rm $NEW
fi
}
config etc/enlightenment/sysactions.conf.new