1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

Proper external repository use - helpers, not apt

This commit is contained in:
lapineige 2023-01-14 17:38:24 +01:00 committed by GitHub
parent 3b99b35f48
commit f6b7c160da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,9 +112,7 @@ ynh_install_app_dependencies $pkg_dependencies
# FIXME: We need a better way to do this # FIXME: We need a better way to do this
ynh_script_progression --message="Installing extra dependencies…" --weight=1 ynh_script_progression --message="Installing extra dependencies…" --weight=1
ynh_exec_warn_less curl -q 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null ynh_install_extra_app_dependencies --repo="https://proget.makedeb.org/feeds/prebuilt-mpr" --package="just" --key="https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub"
ynh_exec_warn_less echo "deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list
ynh_exec_warn_less apt update
ynh_exec_warn_less apt install just ynh_exec_warn_less apt install just
#================================================= #=================================================