diff --git a/autoinstall_yunohostv2 b/autoinstall_yunohostv2 index 1412f77..dc5dbac 100755 --- a/autoinstall_yunohostv2 +++ b/autoinstall_yunohostv2 @@ -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 ]] diff --git a/install_yunohostv2 b/install_yunohostv2 index 8442e01..85d8a5e 100755 --- a/install_yunohostv2 +++ b/install_yunohostv2 @@ -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 ]]