This commit is contained in:
Nicola Spanti 2015-09-16 22:26:14 +00:00
commit 21954a7e9b

View file

@ -104,9 +104,10 @@ then
echo "======== Adding repositories ========"
CUSTOMAPT=/etc/apt/sources.list
DEFAULTAPT=/etc/apt/sources.list
CUSTOMAPT=/etc/apt/sources.list.d/yunohost.list
grep -qri "yunohost" $CUSTOMAPT
grep -qri 'yunohost' $DEFAULTAPT || grep -qri 'yunohost' $CUSTOMAPT
if [[ $? -eq 1 ]]
then
echo "deb http://repo.yunohost.org/ megusta main" >> $CUSTOMAPT