From e61ffa4ff5d3ae91b7de5832558c658444d2403f Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 12 Dec 2017 16:58:28 +0100 Subject: [PATCH] Still debugging post gen hook --- hooks/post_gen_project.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hooks/post_gen_project.sh b/hooks/post_gen_project.sh index 2443837..cf34dac 100644 --- a/hooks/post_gen_project.sh +++ b/hooks/post_gen_project.sh @@ -1,12 +1,12 @@ #!/bin/sh -mv {{cookiecutter.directory_name}}/nginx_example_moin_{{cookiecutter.directory_name}} /etc/nginx/sites-available/nginx_example_moin_{{cookiecutter.directory_name}} +command mv ./{{cookiecutter.directory_name}}/nginx_example_moin_{{cookiecutter.directory_name}} /etc/nginx/sites-available/nginx_example_moin_{{cookiecutter.directory_name}} -mv {{cookiecutter.directory_name}}/{{cookiecutter.directory_name}}.py /var/www/moin/config/{{cookiecutter.directory_name}}.py -chown www-data:www-data /var/www/moin/config/{{cookiecutter.directory_name}}.py +command mv {{cookiecutter.directory_name}}/{{cookiecutter.directory_name}}.py /var/www/moin/config/{{cookiecutter.directory_name}}.py +command chown www-data:www-data /var/www/moin/config/{{cookiecutter.directory_name}}.py -mv {{cookiecutter.directory_name}} /var/www/moin/wikis/{{cookiecutter.directory_name}} -chown -R www-data:www-data /var/www/moin/wikis/{{cookiecutter.directory_name}}.py +command mv {{cookiecutter.directory_name}} /var/www/moin/wikis/{{cookiecutter.directory_name}} +command chown -R www-data:www-data /var/www/moin/wikis/{{cookiecutter.directory_name}}.py echo "" echo "The wiki was created"