Skip to content
Snippets Groups Projects
Verified Commit 70d3f7bf authored by David Beniamine's avatar David Beniamine
Browse files

Fixup

parent 470a8c8c
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
DIR=`dirname $0` DIR=`dirname $0`
srvname=`cat $DIR/srvname` srvname=`cat $DIR/srvname`
if [ -z "$1" ] if [ -z "$srvname" ]
then then
echo "Veuillez entrer le nom du serveur (ex: malraux1) :" echo "Veuillez entrer le nom du serveur (ex: malraux1) :"
read $srvname read $srvname
...@@ -10,7 +10,10 @@ then ...@@ -10,7 +10,10 @@ then
fi fi
echo "Copying configuration" echo "Copying configuration"
if [ $srvname != 'malraux1' ]
then
sed -e "s/malraux1/$srvname/g" $DIR/eole/config.eol > /etc/eole/config.eol sed -e "s/malraux1/$srvname/g" $DIR/eole/config.eol > /etc/eole/config.eol
fi
cp -v $DIR/eole/creole/* /usr/share/eole/creole/modif cp -v $DIR/eole/creole/* /usr/share/eole/creole/modif
cp -v $DIR/eole/era/* /usr/share/era/modeles cp -v $DIR/eole/era/* /usr/share/era/modeles
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment