Correctly set APPSTREAM env var

This commit is contained in:
Jeremy Soller 2025-11-01 14:21:19 -06:00
parent c0feb7ecda
commit c6b1edfdfb
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -3,14 +3,13 @@ set -e
source `dirname "$0"`/config.sh
APPSTREAM="0"
COOK_OPT=""
recipes=""
for arg in "${@:1}"
do
if [[ "$arg" == "--appstream" ]]
then
APPSTREAM="1"
export APPSTREAM="1"
elif [[ "$arg" == "--offline" ]]
then
export COOKBOOK_OFFLINE=true