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