This commit is contained in:
Émile Morel 2015-08-21 12:36:29 +00:00
commit 2149081690
2 changed files with 8 additions and 8 deletions

View file

@ -100,7 +100,7 @@ then
echo "Adding repositories" echo "Adding repositories"
CUSTOMAPT=/etc/apt/sources.list CUSTOMAPT=/etc/apt/sources.list.d/yunohost.list
grep -qri "yunohost" $CUSTOMAPT grep -qri "yunohost" $CUSTOMAPT
if [[ $? -eq 1 ]] if [[ $? -eq 1 ]]
@ -110,11 +110,11 @@ then
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
if [[ "$1" == "test" ]] || [[ "$1" == "testing" ]] ; 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 fi
if [[ "$1" == "daily" ]] || [[ "$1" == "unstable" ]] ; then if [[ "$1" == "daily" ]] || [[ "$1" == "unstable" ]] ; then
echo "deb http://daily.yunohost.org/ testing main" >> $CUSTOMAPT echo "deb http://repo.yunohost.org/ testing main" >> $CUSTOMAPT
echo "deb http://daily.yunohost.org/ unstable main" >> $CUSTOMAPT echo "deb http://repo.yunohost.org/ unstable main" >> $CUSTOMAPT
fi fi
fi fi

View file

@ -104,7 +104,7 @@ then
echo "======== Adding repositories ========" echo "======== Adding repositories ========"
CUSTOMAPT=/etc/apt/sources.list CUSTOMAPT=/etc/apt/sources.list.d/yunohost.list
grep -qri "yunohost" $CUSTOMAPT grep -qri "yunohost" $CUSTOMAPT
if [[ $? -eq 1 ]] if [[ $? -eq 1 ]]
@ -114,11 +114,11 @@ then
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
if [[ "$1" == "test" ]] || [[ "$1" == "testing" ]] ; 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 fi
if [[ "$1" == "daily" ]] || [[ "$1" == "unstable" ]] ; then if [[ "$1" == "daily" ]] || [[ "$1" == "unstable" ]] ; then
echo "deb http://daily.yunohost.org/ testing main" >> $CUSTOMAPT echo "deb http://repo.yunohost.org/ testing main" >> $CUSTOMAPT
echo "deb http://daily.yunohost.org/ unstable main" >> $CUSTOMAPT echo "deb http://repo.yunohost.org/ unstable main" >> $CUSTOMAPT
fi fi
fi fi