1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

Fix repository Signature

This commit is contained in:
yalh76 2019-03-26 20:24:38 +01:00
parent a9354d3ee8
commit ea945532b1
3 changed files with 9 additions and 0 deletions

View file

@ -62,6 +62,9 @@ ynh_print_info "Installing dependencies..."
ynh_add_repo --uri="http://repo.z-hub.io/z-push:/final/Debian_9.0/" --suite="/" --component="" --name="$app"
ynh_pin_repo --package="*" --pin="origin \"repo.z-hub.io\"" --name="$app"
mkdir -p "/etc/apt/trusted.gpg.d"
wget -qO - http://repo.z-hub.io/z-push:/final/Debian_9.0/Release.key | apt-key --keyring /etc/apt/trusted.gpg.d/$app.gpg add -
ynh_package_update
ynh_install_app_dependencies $pkg_dependencies

View file

@ -77,6 +77,9 @@ ynh_print_info "Reinstalling dependencies..."
ynh_add_repo --uri="http://repo.z-hub.io/z-push:/final/Debian_9.0/" --suite="/" --component="" --name="$app"
ynh_pin_repo --package="*" --pin="origin \"repo.z-hub.io\"" --name="$app"
mkdir -p "/etc/apt/trusted.gpg.d"
wget -qO - http://repo.z-hub.io/z-push:/final/Debian_9.0/Release.key | apt-key --keyring /etc/apt/trusted.gpg.d/$app.gpg add -
ynh_package_update
ynh_install_app_dependencies $pkg_dependencies

View file

@ -84,6 +84,9 @@ ynh_print_info "Upgrading dependencies..."
ynh_add_repo --uri="http://repo.z-hub.io/z-push:/final/Debian_9.0/" --suite="/" --component="" --name="$app"
ynh_pin_repo --package="*" --pin="origin \"repo.z-hub.io\"" --name="$app"
mkdir -p "/etc/apt/trusted.gpg.d"
wget -qO - http://repo.z-hub.io/z-push:/final/Debian_9.0/Release.key | apt-key --keyring /etc/apt/trusted.gpg.d/$app.gpg add -
ynh_package_update
ynh_install_app_dependencies $pkg_dependencies