From 9c5cee6a07a862d5cf9848dbd9eb2303e0f70e07 Mon Sep 17 00:00:00 2001 From: Martin Lefebvre Date: Tue, 11 May 2010 19:44:18 +0200 Subject: development/mono: Updated for version 1.2.4 --- development/mono/doinst.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'development/mono/doinst.sh') diff --git a/development/mono/doinst.sh b/development/mono/doinst.sh index 46717d884a..6dc7f79d97 100644 --- a/development/mono/doinst.sh +++ b/development/mono/doinst.sh @@ -1,11 +1,11 @@ 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 @@ -19,3 +19,4 @@ config etc/mono/2.0/web.config.new config etc/mono/2.0/DefaultWsdlHelpGenerator.aspx.new config etc/mono/config.new config etc/mono/browscap.ini.new + -- cgit v1.2.3