Skip to content

Commit 73f707b

Browse files
committed
Check that required tools are available
1 parent 02b0542 commit 73f707b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

linuxdeploy-plugin-gstreamer.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ if [ "$APPDIR" == "" ]; then
5050
exit 1
5151
fi
5252

53+
if ! which patchelf &>/dev/null && ! type patchelf &>/dev/null; then
54+
echo "Error: patchelf not found"
55+
echo
56+
show_usage
57+
exit 2
58+
fi
59+
5360
mkdir -p "$APPDIR"
5461

5562
export GSTREAMER_VERSION=${GSTREAMER_VERSION:-1.0}

0 commit comments

Comments
 (0)