mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[enh] Force cleaner APT sources list.
This commit is contained in:
parent
ec82a44087
commit
01296cc775
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue