diff --git a/scripts/install b/scripts/install index 8c561a2..4abb776 100755 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/restore b/scripts/restore index 4e06800..1fafac2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 7fc71f9..1e28981 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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