To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (191 Bytes)

1 1577:e38eee2e1d47 Chris
#!/bin/bash
2
3
set -e
4
5
if [ ! -d /var/www/code ]; then
6
    cp -a /vagrant-code /var/www/code
7
    chown -R code.www-data /var/www/code
8
    find /var/www/code -type d -exec chmod g+s \{\} \;
9
fi