7 lines
227 B
Bash
7 lines
227 B
Bash
|
#!/bin/bash
|
||
|
echo '* text=auto eol=lf' > $(git rev-parse --git-dir)/info/attributes
|
||
|
rm -rf /var/www/html
|
||
|
ln -sT `pwd`/test/website /var/www/html
|
||
|
chown -R www-data:www-data ./test/website
|
||
|
chown -R www-data:www-data /var/www/html
|