Commit 079ee928 authored by Manuel Christlieb's avatar Manuel Christlieb

wip

parent 22339f92
Pipeline #19294 failed with stage
in 58 seconds
......@@ -61,25 +61,25 @@ task:watch() {
##################################################
setup-env() {
(
if [ -f ${WEBROOT}/.env ]; then
echo ".env file exists."
else
cp ${WEBROOT}/.env.example ${WEBROOT}/.env
echo ".env file created."
fi
)
if [ -f ${WEBROOT}/.env ]; then
echo ".env file exists."
else
cp ${WEBROOT}/.env.example ${WEBROOT}/.env
echo ".env file created."
fi
}
setup-htaccess() {
(
if [ -f ${WEBROOT}/public/.htaccess ]; then
echo ".htaccess file exists."
else
cp ${WEBROOT}/public/_.htaccess ${WEBROOT}/public/.htaccess
echo ".htaccess file created."
fi
)
pwd
env
ls -la
ls -la ${WEBROOT}
if [ -f ${WEBROOT}/public/.htaccess ]; then
echo ".htaccess file exists."
else
cp ${WEBROOT}/public/_.htaccess ${WEBROOT}/public/.htaccess
echo ".htaccess file created."
fi
}
setup-git-hooks() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment