Skip to content

Commit

Permalink
Update in conf_base
Browse files Browse the repository at this point in the history
  • Loading branch information
polytan02 committed Feb 4, 2015
1 parent f19574e commit 6ea0e4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions 3_conf_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fi;

files=conf_base;
# We check that all necessary files are present
for i in root.bashrc user.bashrc sshd_config sources.list_yuno;
for i in root.bashrc user.bashrc sshd_config sources.list;
do
if ! [ -a "./$files/$i" ];
then echo -e "\n$failed $i not found in folder $files";
Expand All @@ -37,11 +37,12 @@ do
done;

# Update of sources.list
sources=conf_base/sources.list_yuno;
sources=conf_base/sources.list;
read -e -p "Do you want to use OVH Debian mirrors ? (yn) : " -i "y" ovh;
if [ $ovh == 'y' ];
then echo -e "\n$ok Copy apt sources.list to use ovh servers";
cp ./$sources /etc/apt/;
echo "deb http://repo.yunohost.org/ megusta main" >> /etc/apt/sources.list;
else echo -e "\n$info Ok, we don't change apt/sources.list\n";
read -e -p "Hit ENTER to pursue... ";
fi;
Expand Down
4 changes: 0 additions & 4 deletions conf_base/sources.list_yuno

This file was deleted.

0 comments on commit 6ea0e4a

Please sign in to comment.