build/post_install.sh
author ymh <ymh.work@gmail.com>
Thu, 10 Nov 2016 01:45:47 +0100
changeset 408 c89c11c2def7
parent 380 b4f69e646e44
child 410 240ca282331d
permissions -rw-r--r--
temporarely hide the share button

#!/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