build/post_install.sh
author ymh <ymh.work@gmail.com>
Thu, 03 Nov 2016 04:43:18 +0100
changeset 389 2204faa0b41a
parent 380 b4f69e646e44
child 410 240ca282331d
permissions -rw-r--r--
Correct problem in spaqrl client in php 56 + add line numbering in result table

#!/usr/bin/env sh

if [ -d /var/www/corpusdelaparole/corpus-back/ ]; then
    pushd /var/www/corpusdelaparole/corpus-back/

    echo "Correcting file permissions for back office"
    chgrp -R apache storage bootstrap/cache
    chmod -R ug+rwx storage bootstrap/cache

    popd
fi


echo "Restart httpd"
/usr/bin/systemctl restart httpd