mirror of
https://github.com/YunoHost-Apps/vaultwarden_ynh.git
synced 2024-09-03 18:26:31 +02:00
commit
dc85565113
5 changed files with 15 additions and 5 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
Alternative implementation of the Bitwarden server API written in Rust and compatible with upstream Bitwarden clients*, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.
|
Alternative implementation of the Bitwarden server API written in Rust and compatible with upstream Bitwarden clients*, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.
|
||||||
|
|
||||||
**Shipped version:** 1.26.0~ynh1
|
**Shipped version:** 1.26.0~ynh2
|
||||||
|
|
||||||
**Demo:** https://vault.bitwarden.com/#/register
|
**Demo:** https://vault.bitwarden.com/#/register
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
||||||
|
|
||||||
Alternative implementation of the Bitwarden server API written in Rust and compatible with upstream Bitwarden clients*, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.
|
Alternative implementation of the Bitwarden server API written in Rust and compatible with upstream Bitwarden clients*, perfect for self-hosted deployment where running the official resource-heavy service might not be ideal.
|
||||||
|
|
||||||
**Version incluse :** 1.26.0~ynh1
|
**Version incluse :** 1.26.0~ynh2
|
||||||
|
|
||||||
**Démo :** https://vault.bitwarden.com/#/register
|
**Démo :** https://vault.bitwarden.com/#/register
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Manage passwords and other sensitive informations",
|
"en": "Manage passwords and other sensitive informations",
|
||||||
"fr": "Gérez les mots de passe et autres informations sensibles"
|
"fr": "Gérez les mots de passe et autres informations sensibles"
|
||||||
},
|
},
|
||||||
"version": "1.26.0~ynh1",
|
"version": "1.26.0~ynh2",
|
||||||
"url": "https://github.com/dani-garcia/vaultwarden",
|
"url": "https://github.com/dani-garcia/vaultwarden",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
|
|
|
@ -93,7 +93,12 @@ ynh_script_progression --message="Setting up source files..."
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_docker_image_extract --dest_dir="$final_path/build/" --image_spec="$pkg_image:$(ynh_app_upstream_version)"
|
docker_arg=""
|
||||||
|
if [ $YNH_ARCH == "armhf" ]
|
||||||
|
then
|
||||||
|
docker_arg="--os_arch_variant=linux/arm/v7"
|
||||||
|
fi
|
||||||
|
ynh_docker_image_extract --dest_dir="$final_path/build/" --image_spec="$pkg_image:$(ynh_app_upstream_version)" $docker_arg
|
||||||
mkdir -p "$final_path/live/"
|
mkdir -p "$final_path/live/"
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
|
|
@ -143,7 +143,12 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..."
|
ynh_script_progression --message="Upgrading source files..."
|
||||||
|
|
||||||
# Download, check integrity, uncompress the source of vaultwarden from app.src to his build directory
|
# Download, check integrity, uncompress the source of vaultwarden from app.src to his build directory
|
||||||
ynh_docker_image_extract --dest_dir="$final_path/build/" --image_spec="$pkg_image:$(ynh_app_upstream_version)"
|
docker_arg=""
|
||||||
|
if [ $YNH_ARCH == "armhf" ]
|
||||||
|
then
|
||||||
|
docker_arg="--os_arch_variant=linux/arm/v7"
|
||||||
|
fi
|
||||||
|
ynh_docker_image_extract --dest_dir="$final_path/build/" --image_spec="$pkg_image:$(ynh_app_upstream_version)" $docker_arg
|
||||||
mkdir -p "$final_path/live/"
|
mkdir -p "$final_path/live/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue