diff options
author | Martin Lefebvre <dadexter@gmail.com> | 2010-05-11 19:45:58 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-11 19:45:58 +0200 |
commit | 4f428aeca7bf2501e5fc2b2202a252168c8e756e (patch) | |
tree | 48fdcdd78960bbd3317371316153036f69326fa2 /network/opera/doinst.sh | |
parent | 48616fd06a411aa24cb0d4da91377285abcf5229 (diff) | |
download | slackbuilds-4f428aeca7bf2501e5fc2b2202a252168c8e756e.tar.gz |
network/opera: Updated for version 9.26
Diffstat (limited to 'network/opera/doinst.sh')
-rw-r--r-- | network/opera/doinst.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |