Commit bc7bdff4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: fix fix_chrome_sandbox return code

parent 41feb17b
...@@ -68,8 +68,8 @@ fix_chrome_sandbox() ...@@ -68,8 +68,8 @@ fix_chrome_sandbox()
userns_val="$(cat $userns_path 2>/dev/null)" userns_val="$(cat $userns_path 2>/dev/null)"
[ "$userns_val" = '1' ] && return [ "$userns_val" = '1' ] && return
[ -n "$sandbox" ] || sandbox=$PRODUCTDIR/chrome-sandbox [ -n "$sandbox" ] || sandbox=$PRODUCTDIR/chrome-sandbox
[ -e "$BUILDROOT$sandbox" ] || return [ -e "$BUILDROOT$sandbox" ] || return 0
chmod 4711 $BUILDROOT$sandbox chmod -v 4711 $BUILDROOT$sandbox
} }
# ignore embedded libs # ignore embedded libs
......
...@@ -48,4 +48,4 @@ if [ -d $BUILDROOT/opt/zoom/QtQuick/Scene2D ] ; then ...@@ -48,4 +48,4 @@ if [ -d $BUILDROOT/opt/zoom/QtQuick/Scene2D ] ; then
subst 's|.*/opt/zoom/QtQuick/Scene3D/libqtquickscene3dplugin.so.*||' $SPEC subst 's|.*/opt/zoom/QtQuick/Scene3D/libqtquickscene3dplugin.so.*||' $SPEC
fi fi
[ -e $PRODUCTDIR/cef/chrome-sandbox ] && fix_chrome_sandbox $PRODUCTDIR/cef/chrome-sandbox fix_chrome_sandbox $PRODUCTDIR/cef/chrome-sandbox
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment