Skip to content
Snippets Groups Projects
Verified Commit 1ecc936e authored by Karel Koci's avatar Karel Koci :metal:
Browse files

generate_medkit: fix language codes

parent 599549a1
No related merge requests found
......@@ -19,7 +19,7 @@ set -e
export BOARD=
export BRANCH="hbd"
export UPDATER_BRANCH=
export L10N=en,cs
export L10N=cs,de
# TODO fill in default lists when we have them selected
export LISTS=
export UPDATER_SCRIPT=
......@@ -57,7 +57,7 @@ while [ $# -gt 0 ]; do
echo " --localization, -l LOCALIZATION,.."
echo " After this argument a list of language codes to be added to"
echo " medkit should be specified. Language codes should be"
echo " separated by comma. In default en,cs is used."
echo " separated by comma. In default cs,de is used."
echo " --lists, -p PKGLIST,.."
echo " What lists should be added to medkit. In default no"
echo " additional lists will be added. Multiple lists can be"
......@@ -174,7 +174,7 @@ mkdir -p root/usr/share/updater
m4args=()
[ -z "\$UPDATER_BRANCH" ] || m4args+=("-D_BRANCH_='\$UPDATER_BRANCH'")
[ -z "\$LISTS" ] || m4args+=("-D_LISTS_='\$LISTS'")
[ -z "\$L10N" ] || m4args+=("-D_LANGS_='\$L10N'")
[ -z "\$L10N" ] || m4args+=("-D_LANGS_=\$L10N")
m4 "\${m4args[@]}" "\$TURRIS_BUILD_DIR/helpers/medkit-updater-ng-config.m4" > root/etc/config/updater
## Overlay user's files
......
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