aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mplayerplug-in/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayerplug-in/doinst.sh')
-rw-r--r--multimedia/mplayerplug-in/doinst.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/multimedia/mplayerplug-in/doinst.sh b/multimedia/mplayerplug-in/doinst.sh
index 98d5100aaa35e..04bb603733d43 100644
--- a/multimedia/mplayerplug-in/doinst.sh
+++ b/multimedia/mplayerplug-in/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
@@ -13,4 +13,3 @@ config() {
config etc/mplayerplug-in.conf.new
config etc/mplayerplug-in.types.new
-