slackbuilds_ponce/desktop/wmfs/doinst.sh
Benjamin Trigona-Harany 5f21d4dff2 desktop/wmfs: Added (dynamic tiling window manager)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-05-15 22:05:37 -05:00

10 lines
221 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/wmfs/wmfsrc.new