mirror of
https://github.com/YunoHost-Apps/biboumi_ynh.git
synced 2024-09-03 18:15:58 +02:00
Handle bookworm having metronome as an app
This commit is contained in:
parent
e1b18bb28b
commit
36c607e918
3 changed files with 22 additions and 3 deletions
|
@ -1 +1 @@
|
|||
XMPP gateway for the IRC network
|
||||
XMPP gateway for the IRC network. Needs Metronome.
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
||||
|
||||
packaging_format = 2
|
||||
|
||||
id = "biboumi"
|
||||
|
@ -45,7 +47,16 @@ ram.runtime = "50M"
|
|||
|
||||
[resources.install_dir]
|
||||
|
||||
[resources.data_dir]
|
||||
dir = "/var/lib/__APP__"
|
||||
|
||||
[resources.permissions]
|
||||
|
||||
[resources.apt]
|
||||
packages = "metronome, biboumi"
|
||||
packages = [ "biboumi", ]
|
||||
|
||||
packages_from_raw_bash = """
|
||||
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
|
||||
echo "metronome";
|
||||
fi
|
||||
"""
|
||||
|
|
10
tests.toml
10
tests.toml
|
@ -1,3 +1,11 @@
|
|||
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
|
||||
|
||||
test_format = 1.0
|
||||
|
||||
[default]
|
||||
[default]
|
||||
|
||||
preinstall = """"
|
||||
if cat /etc/os-release | grep --quiet bookworm 2>/dev/null; then
|
||||
yunohost app install --force https://github.com/yunoHost-Apps/metronome_ynh -a 'domain=domain.tld&init_main_permission=visitors'
|
||||
fi
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue