Commit 6295a707eabfd3ea6262f671bc3c35deb477e6e7

Authored by Alexandre
1 parent 83b3f9b0

Correction des contraintes en double dans la génération du build.sql

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
install/installation.sh
... ... @@ -263,6 +263,7 @@ cd database/
263 263  
264 264 echo "Creation script de construction."
265 265 [[ -f build.sql ]] && cp -p build.sql build.sql.ORIG
  266 + #Contraintes présentes dans le fichier "labinvent_2.0_19-04-16.sql"
266 267 cat ./labinvent_2.0_19-04-16.sql > ./build.sql
267 268 # Ajout des contraintes
268 269 #cat ./Upd_TableConstraints.sql >> ./build.sql
... ... @@ -277,7 +278,7 @@ if [ $INSTALL_DATA_IRAP -eq 1 ] ; then
277 278 #if [ -z $rep ] || [ $rep = "N" ] || [ $rep = "n" ] || [ $rep = "Non" ] || [ $rep = "non" ] || [ $rep = "NON" ]; then
278 279 if [ -z $rep ] || [ $rep = "O" ] || [ $rep = "o" ] || [ $rep = "Oui" ] || [ $rep = "oui" ] || [ $rep = "OUI" ]; then
279 280 echo "Installation des donnees IRAP dans la base de donnees"
280   - cat ./Insert_TablesFunct.sql ./Upd_TableConstraints.sql >> ./build.sql
  281 + cat ./Insert_TablesFunct.sql > ./build.sql
281 282 #cat ./labinvent_2.0_insert-irap_19-04-16.sql >> ./build.sql
282 283 else
283 284 echo "Pas d'install de donnees IRAP dans la base"
... ...