1
0
Fork 0
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:
Maniack Crudelis 2018-04-27 16:21:16 +02:00 committed by GitHub
parent 53882251a8
commit b18e6a1b89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,10 +62,12 @@ path_url=$(ynh_normalize_url_path $path_url)
#================================================= #=================================================
# jessie-backports is needed for php-net-ldap3 # 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
echo "deb http://httpredir.debian.org/debian jessie-backports main" \ grep -q -R 'jessie-backports' /etc/apt/sources.list{,.d} || {
| tee -a /etc/apt/sources.list.d/backports.list >/dev/null 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" ynh_install_app_dependencies "$pkg_dependencies"