mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Fix upgrade as well as install
This commit is contained in:
parent
53882251a8
commit
b18e6a1b89
1 changed files with 6 additions and 4 deletions
|
@ -62,10 +62,12 @@ path_url=$(ynh_normalize_url_path $path_url)
|
|||
#=================================================
|
||||
|
||||
# jessie-backports is needed for php-net-ldap3
|
||||
grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || {
|
||||
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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue