From 01296cc775c2e405671ca68813896b60f7f90b50 Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 10 May 2016 10:23:19 +0200 Subject: [PATCH] [enh] Force cleaner APT sources list. --- install_yunohost | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install_yunohost b/install_yunohost index dedfd46..25d0b3e 100755 --- a/install_yunohost +++ b/install_yunohost @@ -152,9 +152,9 @@ setup_package_source() { local CUSTOMDEB="deb http://repo.yunohost.org/debian/ jessie stable" if [[ "$DISTRIB" == "stable" ]] ; then - echo "$CUSTOMDEB" >> $CUSTOMAPT + echo "$CUSTOMDEB" > $CUSTOMAPT elif [[ "$DISTRIB" == "test" ]] || [[ "$DISTRIB" == "testing" ]] ; then - echo "$CUSTOMDEB testing" >> $CUSTOMAPT + echo "$CUSTOMDEB testing" > $CUSTOMAPT elif [[ "$DISTRIB" == "daily" ]] || [[ "$DISTRIB" == "unstable" ]] ; then echo "$CUSTOMDEB testing unstable" > $CUSTOMAPT fi