view extra/soundsoftware/scripted-deploy/vagrant/provision.d/030-webapp-dir.sh @ 1583:0dcd4f8c2b8a dockerise

Small update, commit Gemfile.lock
author Chris Cannam
date Wed, 16 Aug 2017 12:29:01 +0100
parents ae8043b014c7
children
line wrap: on
line source
#!/bin/bash

set -e

if [ ! -d /var/www/code ]; then
    cp -a /vagrant-code /var/www/code
    chown -R code.www-data /var/www/code
    find /var/www/code -type d -exec chmod g+s \{\} \;
fi