mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
[fix] Custom apt sources was not created if distrib=stable
This commit is contained in:
parent
b0fc51ba59
commit
db90f80511
1 changed files with 3 additions and 1 deletions
|
@ -151,7 +151,9 @@ setup_package_source() {
|
|||
# Debian repository
|
||||
local CUSTOMDEB="deb http://repo.yunohost.org/debian/ jessie stable"
|
||||
|
||||
if [[ "$DISTRIB" == "test" ]] || [[ "$DISTRIB" == "testing" ]] ; then
|
||||
if [[ "$DISTRIB" == "stable" ]] ; then
|
||||
echo "$CUSTOMDEB" >> $CUSTOMAPT
|
||||
elif [[ "$DISTRIB" == "test" ]] || [[ "$DISTRIB" == "testing" ]] ; then
|
||||
echo "$CUSTOMDEB testing" >> $CUSTOMAPT
|
||||
elif [[ "$DISTRIB" == "daily" ]] || [[ "$DISTRIB" == "unstable" ]] ; then
|
||||
echo "$CUSTOMDEB testing unstable" > $CUSTOMAPT
|
||||
|
|
Loading…
Add table
Reference in a new issue