mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Merge 621d4d1abc
into e648b905c2
This commit is contained in:
commit
2149081690
2 changed files with 8 additions and 8 deletions
|
@ -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 ]]
|
||||
|
@ -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
|
||||
|
||||
|
|
|
@ -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 ]]
|
||||
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue