slackbuilds_ponce/accessibility/speech-dispatcher/doinst.sh
Edward W. Koenig 771b291532 accessibility/speech-dispatcher: Added (speech synthesizer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2016-05-29 09:27:43 +07:00

9 lines
194 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
}