[fix] Do not add yunohost.conf in testing

This commit is contained in:
Le Kload 2015-11-09 14:48:22 +01:00
parent 07c5089f3d
commit a8ecee91c2

View file

@ -103,7 +103,8 @@ installscript_dependencies() {
}
create_custom_config() {
if [[ "$DISTRIB" != "daily" ]] && [[ "$DISTRIB" != "unstable" ]] ; then
if [[ "$DISTRIB" != "daily" ]] && [[ "$DISTRIB" != "unstable" ]] \
&& [[ "$DISTRIB" != "test" ]] && [[ "$DISTRIB" != "testing" ]] ; then
if [[ ! -f /etc/yunohost/yunohost.conf ]]
then
mkdir -p /etc/yunohost/