From 88c8f39822d549b7c1c4cefd6fb016026853d0ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20Morel?= Date: Fri, 21 Aug 2015 14:31:17 +0200 Subject: [PATCH 1/2] put repo in sources.list.d/yunohost.list --- autoinstall_yunohostv2 | 2 +- install_yunohostv2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autoinstall_yunohostv2 b/autoinstall_yunohostv2 index 1412f77..dc5dbac 100755 --- a/autoinstall_yunohostv2 +++ b/autoinstall_yunohostv2 @@ -100,7 +100,7 @@ then echo "Adding repositories" - CUSTOMAPT=/etc/apt/sources.list + CUSTOMAPT=/etc/apt/sources.list.d/yunohost.list grep -qri "yunohost" $CUSTOMAPT if [[ $? -eq 1 ]] diff --git a/install_yunohostv2 b/install_yunohostv2 index 8442e01..85d8a5e 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -104,7 +104,7 @@ then echo "======== Adding repositories ========" - CUSTOMAPT=/etc/apt/sources.list + CUSTOMAPT=/etc/apt/sources.list.d/yunohost.list grep -qri "yunohost" $CUSTOMAPT if [[ $? -eq 1 ]] From 621d4d1abcb50a439a5700228caca5bdbcffdba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20Morel?= Date: Fri, 21 Aug 2015 14:36:45 +0200 Subject: [PATCH 2/2] change daily to repo for repositories --- autoinstall_yunohostv2 | 6 +++--- install_yunohostv2 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/autoinstall_yunohostv2 b/autoinstall_yunohostv2 index dc5dbac..6d614d2 100755 --- a/autoinstall_yunohostv2 +++ b/autoinstall_yunohostv2 @@ -110,11 +110,11 @@ then if [ $# -gt 0 ]; then if [[ "$1" == "test" ]] || [[ "$1" == "testing" ]] ; then - echo "deb http://daily.yunohost.org/ testing main" >> $CUSTOMAPT + echo "deb http://repo.yunohost.org/ testing main" >> $CUSTOMAPT fi if [[ "$1" == "daily" ]] || [[ "$1" == "unstable" ]] ; then - echo "deb http://daily.yunohost.org/ testing main" >> $CUSTOMAPT - echo "deb http://daily.yunohost.org/ unstable main" >> $CUSTOMAPT + echo "deb http://repo.yunohost.org/ testing main" >> $CUSTOMAPT + echo "deb http://repo.yunohost.org/ unstable main" >> $CUSTOMAPT fi fi diff --git a/install_yunohostv2 b/install_yunohostv2 index 85d8a5e..c84c2ea 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -114,11 +114,11 @@ then if [ $# -gt 0 ]; then if [[ "$1" == "test" ]] || [[ "$1" == "testing" ]] ; then - echo "deb http://daily.yunohost.org/ testing main" >> $CUSTOMAPT + echo "deb http://repo.yunohost.org/ testing main" >> $CUSTOMAPT fi if [[ "$1" == "daily" ]] || [[ "$1" == "unstable" ]] ; then - echo "deb http://daily.yunohost.org/ testing main" >> $CUSTOMAPT - echo "deb http://daily.yunohost.org/ unstable main" >> $CUSTOMAPT + echo "deb http://repo.yunohost.org/ testing main" >> $CUSTOMAPT + echo "deb http://repo.yunohost.org/ unstable main" >> $CUSTOMAPT fi fi