From db90f8051121775a5e956377ebe2ede0fd3efbce Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 10 May 2016 09:35:24 +0200 Subject: [PATCH] [fix] Custom apt sources was not created if distrib=stable --- install_yunohost | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install_yunohost b/install_yunohost index 946e2b2..511911c 100755 --- a/install_yunohost +++ b/install_yunohost @@ -151,7 +151,9 @@ setup_package_source() { # Debian repository local CUSTOMDEB="deb http://repo.yunohost.org/debian/ jessie stable" - if [[ "$DISTRIB" == "test" ]] || [[ "$DISTRIB" == "testing" ]] ; then + if [[ "$DISTRIB" == "stable" ]] ; then + echo "$CUSTOMDEB" >> $CUSTOMAPT + elif [[ "$DISTRIB" == "test" ]] || [[ "$DISTRIB" == "testing" ]] ; then echo "$CUSTOMDEB testing" >> $CUSTOMAPT elif [[ "$DISTRIB" == "daily" ]] || [[ "$DISTRIB" == "unstable" ]] ; then echo "$CUSTOMDEB testing unstable" > $CUSTOMAPT