🍽 Fork YunoHost — snapshot mangé par la machine à tsoins
Some checks failed
Check for new n releases / updater (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

Upstream: https://github.com/YunoHost/yunohost @ 3a5f8bac8301c450897b96cbd43a4c7d3ba750fb
But (José) : transformer tout le code en bions + ploxions du xerboxion.
La carte de digestion vit au labo : /yunohost-digest.json
This commit is contained in:
machine-a-tsoins
2026-07-03 17:20:06 +00:00
commit edb4c397df
395 changed files with 105504 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
#!/usr/bin/env bash
ynhtest_apt_install_apt_deps_regular() {
cat << EOF > ../manifest.toml
packaging_format = 2
id = "${app:?}"
version = "0.1~ynh2"
EOF
if dpkg --list | grep -q "ii *$app-ynh-deps "; then
apt remove "$app-ynh-deps" --assume-yes
fi
if dpkg --list | grep -q 'ii *nyancat '; then
apt remove nyancat --assume-yes
fi
if dpkg --list | grep -q 'ii *sl '; then
apt remove sl --assume-yes
fi
! _ynh_apt_package_is_installed "$app-ynh-deps"
! _ynh_apt_package_is_installed "nyancat"
! _ynh_apt_package_is_installed "sl"
ynh_apt_install_dependencies "nyancat sl"
_ynh_apt_package_is_installed "$app-ynh-deps"
_ynh_apt_package_is_installed "nyancat"
_ynh_apt_package_is_installed "sl"
ynh_apt_remove_dependencies
! _ynh_apt_package_is_installed "$app-ynh-deps"
! _ynh_apt_package_is_installed "nyancat"
! _ynh_apt_package_is_installed "sl"
}