Skip to content
Snippets Groups Projects
Commit c19e0558 authored by Darl Cat's avatar Darl Cat Committed by Darl CatTest
Browse files

Add check for Release channel to desktop entry script

parent a3dc6d1f
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,13 @@ else ...@@ -16,6 +16,13 @@ else
exit 1 exit 1
fi fi
# Check for the Release channel. This channel should not have the channel name in its launcher.
if [ "$channel" = "Alchemy Release" ]; then
launcher_name="Alchemy"
else
launcher_name=$channel
fi
install_desktop_entry() install_desktop_entry()
{ {
installation_prefix="${1}" installation_prefix="${1}"
...@@ -23,7 +30,7 @@ install_desktop_entry() ...@@ -23,7 +30,7 @@ install_desktop_entry()
desktop_entry="\ desktop_entry="\
[Desktop Entry]\n\ [Desktop Entry]\n\
Name=${channel}\n\ Name=${launcher_name}\n\
Comment=Client for the On-line Virtual World, Second Life\n\ Comment=Client for the On-line Virtual World, Second Life\n\
Exec=${installation_prefix}/alchemy\n\ Exec=${installation_prefix}/alchemy\n\
Icon=${installation_prefix}/alchemy_icon.png\n\ Icon=${installation_prefix}/alchemy_icon.png\n\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment