mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Update upgrade
This commit is contained in:
parent
2fb1d572e1
commit
47b7bd156c
1 changed files with 13 additions and 1 deletions
|
@ -136,7 +136,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..."
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/lstu.conf"
|
||||
ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/lstu.conf"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
@ -167,6 +167,18 @@ pushd $final_path
|
|||
carton install --deployment --without=sqlite --without=mysql
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# CONFIGURE LSTU
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring Lstu..."
|
||||
|
||||
if [ $is_public -eq 0 ];
|
||||
then
|
||||
ynh_add_config --template="../conf/lstu.conf.ldap" --destination="$final_path/lstu.conf"
|
||||
else
|
||||
ynh_add_config --template="../conf/lstu.conf.template" --destination="$final_path/lstu.conf"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# SETUP LOGROTATE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue