From 6c6a79b0b888cecf5b0f93e1f3c9671afcfc26ce Mon Sep 17 00:00:00 2001 From: "Nicola Spanti (RyDroid)" Date: Thu, 17 Sep 2015 00:23:31 +0200 Subject: [PATCH] Put repo in /etc/apt/sources.list.d/yunohost.list --- install_yunohostv2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install_yunohostv2 b/install_yunohostv2 index 8442e01..61a016a 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -104,9 +104,10 @@ then echo "======== Adding repositories ========" - CUSTOMAPT=/etc/apt/sources.list + DEFAULTAPT=/etc/apt/sources.list + CUSTOMAPT=/etc/apt/sources.list.d/yunohost.list - grep -qri "yunohost" $CUSTOMAPT + grep -qri 'yunohost' $DEFAULTAPT || grep -qri 'yunohost' $CUSTOMAPT if [[ $? -eq 1 ]] then echo "deb http://repo.yunohost.org/ megusta main" >> $CUSTOMAPT