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

fix makedeb + more logging output

This commit is contained in:
lapineige 2023-05-01 23:24:05 +02:00 committed by GitHub
parent 1f3b7bd1a5
commit 90cfbe4d51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,17 +47,19 @@ chown $app:$app "$install_dir/.env"
#================================================= #=================================================
# Configuration files # Configuration files
#================================================= #=================================================
ynh_script_progression --message="Managing special dependencies..." --weight=1
### Add just dependency ### Add just dependency
# TODO : this is unsafe and should be dealt with in a better way. # TODO : this is unsafe and should be dealt with in a better way.
# There is currently no proper way to install it simply on Debian 11 https://github.com/casey/just#packages # There is currently no proper way to install it simply on Debian 11 https://github.com/casey/just#packages
export MAKEDEB_RELEASE='makedeb' # for non interactive https://docs.makedeb.org/installing/shell-script/#noninteractive-usage
bash -c "$(wget -qO - 'https://shlink.makedeb.org/install')" # -c because -ci is for interractive environnement bash -c "$(wget -qO - 'https://shlink.makedeb.org/install')" # -c because -ci is for interractive environnement
git clone 'https://mpr.makedeb.org/just' git clone 'https://mpr.makedeb.org/just'
cd just cd just
makedeb -si makedeb -si
cd .. cd ..
ynh_script_progression --message="Configuring..." --weight=1
ynh_exec_warn_less just config ynh_exec_warn_less just config
#================================================= #=================================================