From 4f428aeca7bf2501e5fc2b2202a252168c8e756e Mon Sep 17 00:00:00 2001 From: Martin Lefebvre Date: Tue, 11 May 2010 19:45:58 +0200 Subject: network/opera: Updated for version 9.26 --- network/opera/doinst.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'network/opera/doinst.sh') diff --git a/network/opera/doinst.sh b/network/opera/doinst.sh index 52bf912e91..72f86c9a69 100644 --- a/network/opera/doinst.sh +++ b/network/opera/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 -- cgit v1.2.3