diff options
Diffstat (limited to 'binary_tarball/scripts/5_Configure_Binary_Tarball.sh')
-rwxr-xr-x | binary_tarball/scripts/5_Configure_Binary_Tarball.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/binary_tarball/scripts/5_Configure_Binary_Tarball.sh b/binary_tarball/scripts/5_Configure_Binary_Tarball.sh index 2068805..c981fc1 100755 --- a/binary_tarball/scripts/5_Configure_Binary_Tarball.sh +++ b/binary_tarball/scripts/5_Configure_Binary_Tarball.sh @@ -38,7 +38,7 @@ distini="$_EXTRACTED_TARBALL_FOLDER/distribution/distribution.ini" install -Dvm644 /dev/stdin "$distini" <<END [Global] -id=io.gitlab.${pkgname} +id=io.gitlab.LibreWolf version=1.0 about=LibreWolf @@ -48,6 +48,10 @@ app.distributor.channel=librewolf app.partner.librewolf=librewolf END +# Create Appstream metadate file +export DATE=$(date +%Y-%m-%d) +envsubst < ${_SCRIPT_FOLDER}/content/io.gitlab.LibreWolf.appdata.xml.in > ${_EXTRACTED_TARBALL_FOLDER}/io.gitlab.LibreWolf.appdata.xml + # Repacks the binary tarball printf "\nRecompressing binary tarball\n"; tar -jvcf $BINARY_TARBALL -C $_EXTRACTED_TARBALL_FOLDER . |