To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / extra / soundsoftware / vagranttest / provision.d / 040-hg-dir.sh @ 1579:aba122ac2d40
History | View | Annotate | Download (523 Bytes)
| 1 | 1577:e38eee2e1d47 | Chris | #!/bin/bash |
|---|---|---|---|
| 2 | |||
| 3 | set -e |
||
| 4 | |||
| 5 | if [ ! -f /var/hg/index.cgi ]; then |
||
| 6 | mkdir -p /var/hg |
||
| 7 | chown code.www-data /var/hg |
||
| 8 | chmod g+s /var/hg |
||
| 9 | cp /var/www/code/extra/soundsoftware/dockertest/index.cgi /var/hg/ |
||
| 10 | cp /var/www/code/extra/soundsoftware/dockertest/hgweb.config /var/hg/ |
||
| 11 | chmod +x /var/hg/index.cgi |
||
| 12 | fi |
||
| 13 | |||
| 14 | 1578:06ca2df3d7ca | Chris | if [ ! -d /var/hg/vamp-plugin-sdk ]; then |
| 15 | # This project can be used for testing |
||
| 16 | cd /var/hg |
||
| 17 | hg clone https://code.soundsoftware.ac.uk/hg/vamp-plugin-sdk |
||
| 18 | chown -R code.www-data vamp-plugin-sdk |
||
| 19 | fi |