summaryrefslogtreecommitdiff
path: root/kega-fusion.sh
diff options
context:
space:
mode:
authortrya <tryagainprod@gmail.com>2015-06-10 01:27:19 +0200
committertrya <tryagainprod@gmail.com>2015-06-10 01:27:19 +0200
commitaa7b0c50771bd9c4112321d92888d0d4ce13dc57 (patch)
treee3580708a686fd5e83ccb563db1dc42eec97b707 /kega-fusion.sh
parentaefc912d115f6ff126a950edf7bac1c7c0c4d129 (diff)
Removal of custom built libmpg123 and cleanup of start script
Diffstat (limited to 'kega-fusion.sh')
-rw-r--r--kega-fusion.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/kega-fusion.sh b/kega-fusion.sh
index 9e933f4..9e7836f 100644
--- a/kega-fusion.sh
+++ b/kega-fusion.sh
@@ -10,7 +10,9 @@ mkdir -p "$kega_localdir/Plugins"
# create links for every included plugin
if [ $(ls -1A $kega_libdir/plugins | wc -l) -gt 0 ]; then
for i in $kega_libdir/plugins/*; do
- ln -sf "$i" "$kega_localdir/Plugins/$(basename "$i")"
+ if [ ! -e "$kega_localdir/Plugins/$(basename "$i")" ]; then
+ ln -sf "$i" "$kega_localdir/Plugins/"
+ fi
done
fi
@@ -20,4 +22,4 @@ if ! [ -f "$kega_localdir/Fusion.ini" ]; then
fi
# here we go!
-$kega_libdir/kega-fusion "$@"
+$kega_libdir/Fusion "$@"