From c403eaa775108f564736a517fa424ca3fb6ca004 Mon Sep 17 00:00:00 2001 From: Michales Michaloudes Date: Thu, 13 May 2010 00:34:04 +0200 Subject: misc/biosdisk: Updated for version 0.75_2 --- misc/biosdisk/doinst.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'misc/biosdisk/doinst.sh') 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 + -- cgit v1.2.3