summarylogtreecommitdiffstats
path: root/setup.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh.in')
-rw-r--r--setup.sh.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/setup.sh.in b/setup.sh.in
index ee91464e2b73..fa32e18b63c4 100644
--- a/setup.sh.in
+++ b/setup.sh.in
@@ -196,9 +196,8 @@ else
bootstrap_install
printf "\nYou can now start EVE Online Launcher and his Tools:\n\n"
for cmd in *.desktop ;do
- oexec=$(grep Exec= $cmd | cut -d= -f2); oexec=${oexec##*/}
- [ ! "$oexec" = "evelauncher.sh" ] && \
- printf " $oexec\t- $(grep Comment= $cmd | cut -d= -f2)\n"
+ oexec=$(sed -rn 's,^Exec=,,;s,.*/,,p' $cmd)
+ [ ! "$oexec" = "evelauncher.sh" ] && printf " $oexec\t- $(sed -rn 's,^Comment=,,p' $cmd)\n"
done
printf "\n evelauncher.sh\t- EVE Online Launcher\n"
fi