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:44:48 +0100
commitc72854c50f6d31e18da2ac2f068c62fad429858c (patch)
tree6ba6cdb9607ab36b567e0e3fab8ef314b760fd48
parente40951bff4ab54c7fa83fdf68f7280178cf33552 (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