mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Install dependencies on restore
This commit is contained in:
parent
cb3db1a477
commit
31ea930f01
1 changed files with 14 additions and 0 deletions
|
@ -41,6 +41,20 @@ ynh_webpath_available $domain $path_url \
|
|||
test ! -d $final_path \
|
||||
|| ynh_die "There is already a directory: $final_path "
|
||||
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
|
||||
# jessie-backports is needed for php-net-ldap3
|
||||
if [ "$(lsb_release --codename --short)" = "jessie" ]; then
|
||||
grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || {
|
||||
echo "deb http://httpredir.debian.org/debian jessie-backports main" \
|
||||
| tee -a /etc/apt/sources.list.d/backports.list >/dev/null
|
||||
}
|
||||
fi
|
||||
|
||||
ynh_install_app_dependencies "$pkg_dependencies"
|
||||
|
||||
#=================================================
|
||||
# STANDARD RESTORATION STEPS
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue