1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git synced 2024-09-03 18:36:09 +02:00

manifest.toml: bash being bash .. we can't use the foo && bar syntax, otherwise that triggers exit code 1 (error) when the condition fails ..

This commit is contained in:
Alexandre Aubin 2023-03-20 16:43:28 +01:00 committed by GitHub
parent a40e817cb7
commit e3186acf0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,8 +100,12 @@ ram.runtime = "50M"
[resources.apt]
packages = "mariadb-server"
packages_from_raw_bash = """
[[ "$export" == "libreoffice" ]] && echo "unoconv libreoffice-writer"
[[ "$export" == "abiword" ]] && echo "abiword"
if [[ "$export" == "libreoffice" ]]
then
echo "unoconv libreoffice-writer"
elif [[ "$export" == "abiword" ]]
echo "abiword"
fi
"""
[resources.database]