summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2015-11-03 10:43:18 +0100
committerThibault Saunier <tsaunier@gnome.org>2015-11-03 10:45:07 +0100
commitb8fa91c1bbd401b3e0dbd8739b9bcbf69b5ee64c (patch)
tree8f5d18cc0bdc77223c85d108e6079b82aa520685
parent6d3ba799529c14d5e8ebe952028fe015bb65c711 (diff)
linux_bundle: Do not allow overriding GST_PLUGIN_PATH symlink
-rw-r--r--cerbero/packages/linux_bundle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cerbero/packages/linux_bundle.py b/cerbero/packages/linux_bundle.py
index 14d9c853..cb8044b2 100644
--- a/cerbero/packages/linux_bundle.py
+++ b/cerbero/packages/linux_bundle.py
@@ -29,10 +29,10 @@ from cerbero.packages import PackagerBase
LAUNCH_BUNDLE_COMMAND = """# Try to discover plugins only once
PLUGINS_SYMLINK=${HOME}/.cache/gstreamer-1.0/%(appname)s-gstplugins
-rm ${PLUGINS_SYMLINK} > /dev/null 2>&1
ln -s ${APPDIR}/lib/gstreamer-1.0/ ${PLUGINS_SYMLINK}
if [ $? -ne 0 ]; then
- export GST_PLUGIN_PATH=${APPDIR}/lib/gstreamer-1.0/
+ echo "Bundle is already running, exiting"
+ exit 1
else
export GST_PLUGIN_PATH=${PLUGINS_SYMLINK}
fi