summaryrefslogtreecommitdiff
path: root/misc/biosdisk/doinst.sh
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2010-05-13 00:34:04 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:34:04 +0200
commitc403eaa775108f564736a517fa424ca3fb6ca004 (patch)
tree5731d05157ef7877b2bc93c461ef2b0f0a699420 /misc/biosdisk/doinst.sh
parent6c13379dda8b330fef295d56123e68fd48607bd6 (diff)
downloadslackbuilds-c403eaa775108f564736a517fa424ca3fb6ca004.tar.gz
misc/biosdisk: Updated for version 0.75_2
Diffstat (limited to 'misc/biosdisk/doinst.sh')
-rw-r--r--misc/biosdisk/doinst.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/biosdisk/doinst.sh b/misc/biosdisk/doinst.sh
index c193537931..0b3c315f57 100644
--- a/misc/biosdisk/doinst.sh
+++ b/misc/biosdisk/doinst.sh
@@ -1,10 +1,10 @@
config() {
NEW="$1"
- OLD="`dirname $NEW`/`basename $NEW .new`"
+ 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
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
@@ -12,3 +12,4 @@ config() {
}
config etc/biosdisk.conf.new
+