diff --git a/README.md b/README.md index 43a21b0..b720e09 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,14 @@ cd package_check ./package_check.sh your_app_ynh ``` +You can select the architecture, the debian version and/or the Yunohost Branch by adding a `config` file in `package_check` folder + +````bash +ARCH=amd64 +DIST=bullseye +YNH_BRANCH=stable +```` + ## Features The script is able to perform the following tests: diff --git a/package_check.sh b/package_check.sh index dc704c9..a71f937 100755 --- a/package_check.sh +++ b/package_check.sh @@ -9,10 +9,7 @@ print_help() { cat << EOF Usage: package_check.sh [OPTION]... PACKAGE_TO_CHECK - -b, --branch=BRANCH Specify a branch to check. - -a, --arch=ARCH - -d, --dist=DIST - -y, --ynh-branch=BRANCH + -b, --branch=BRANCH Specify a branch to check. -D, --dry-run Show a JSON representing which tests are going to be ran (meant for debugging) -i, --interactive Wait for the user to continue before each remove -e, --interactive-on-errors Wait for the user to continue on errors @@ -25,6 +22,8 @@ print_help() { -h, --help Display this help Pass YNHDEV_BACKEND=incus|lxd to use a specific LXD-compatible backend. + Pass DIST=bullseye|bookworm to use a specific distribution version + Pass YNH_BRANCH=stable|unstable to use a specific Yunohost branch EOF exit 0