mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Very minor changes
This commit is contained in:
parent
53df802986
commit
674f251cea
2 changed files with 11 additions and 8 deletions
|
@ -40,8 +40,8 @@
|
|||
"en": "Choose a path for Roundcube",
|
||||
"fr": "Choisissez un chemin pour Roundcube"
|
||||
},
|
||||
"example": "/webmail",
|
||||
"default": "/webmail"
|
||||
"example": "/roundcube",
|
||||
"default": "/roundcube"
|
||||
},
|
||||
{
|
||||
"name": "with_carddav",
|
||||
|
|
|
@ -58,10 +58,13 @@ ynh_app_setting_set $app with_enigma $with_enigma
|
|||
#=================================================
|
||||
|
||||
# jessie-backports is needed for php-net-ldap3
|
||||
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
|
||||
}
|
||||
if test -f /etc/apt/sources.list -o -d /etc/apt/sources.list.d
|
||||
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"
|
||||
|
||||
|
@ -77,7 +80,7 @@ ynh_mysql_setup_db $db_name $db_name
|
|||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
||||
ynh_app_setting_set $app final_path $final_path
|
||||
ynh_app_setting_set "$app" final_path $final_path
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source "$final_path"
|
||||
|
||||
|
@ -165,7 +168,7 @@ fi
|
|||
sed -i "s#^\s*// installed plugins#&\n ${installed_plugins}#" \
|
||||
"${final_path}/config/config.inc.php"
|
||||
|
||||
# Update javascript dependencies
|
||||
# Update JavaScript dependencies
|
||||
(cd "${final_path}"
|
||||
/usr/bin/php -q ./bin/install-jsdeps.sh)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue