Commit f117b9dfac6cb7490ca747b54e545287818d5ec4
Exists in
master
and in
3 other branches
Merge branch 'dev-IRAP' of https://gitlab.irap.omp.eu/epallier/labinvent.git into dev-IRAP
Showing
2 changed files
with
10 additions
and
4 deletions
Show diff stats
install/installation.sh
... | ... | @@ -77,7 +77,11 @@ read |
77 | 77 | |
78 | 78 | # Installation des plugins dans vendor/ (cakephp, phpunit, phpqrcode, fpdf, ...) |
79 | 79 | echo "Installation des plugins dans vendor/ ..." |
80 | +cd install/ | |
81 | +chmod +x update_plugins.sh | |
80 | 82 | ./update_plugins.sh |
83 | +cd ../ | |
84 | + | |
81 | 85 | |
82 | 86 | # Creation des dossiers temporaires (tmp, logs, ...) |
83 | 87 | echo "Création des dossiers temporaires..." |
... | ... | @@ -142,10 +146,10 @@ echo "Mise à jour des droits des dossiers..." |
142 | 146 | # 1) POUR LES QRCODES |
143 | 147 | # Ajouter les droits en ecriture pour la creation des qrcodes |
144 | 148 | # phpqrcode write its errors into its folder ... |
145 | -sudo chmod -R 775 ./vendor/phpqrcode/ | |
146 | -touch ./vendor/phpqrcode/errors.txt | |
147 | -chmod 775 ./vendor/phpqrcode/errors.txt | |
148 | -sudo chgrp -R $grp ./vendor/phpqrcode/ | |
149 | +sudo chmod -R 775 ./vendor/aferrandini/phpqrcode/ | |
150 | +touch ./vendor/aferrandini/phpqrcode/errors.txt | |
151 | +chmod 775 ./vendor/aferrandini/phpqrcode/errors.txt | |
152 | +sudo chgrp -R $grp ./vendor/aferrandini/phpqrcode/ | |
149 | 153 | [[ $? -ne 0 ]] && echo "Vous devez avoir le droit de faire un 'sudo' sinon executer ce script en tant que root" && exit 1 |
150 | 154 | |
151 | 155 | ##sudo chmod -R 775 ./webroot/img/ | ... | ... |
install/update_plugins.sh