From da2f6efba03afa30adacc0d526520e5f1acfd49b Mon Sep 17 00:00:00 2001 From: Ylies Chahi Date: Tue, 25 Jul 2017 19:45:10 +0200 Subject: [PATCH] Update install --- scripts/install | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c1ddd49..23b6646 100644 --- a/scripts/install +++ b/scripts/install @@ -29,7 +29,7 @@ app=$YNH_APP_INSTANCE_NAME domain=$YNH_APP_ARG_DOMAIN path=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC - +author=$YNH_APP_ARG_AUTHOR # Check domain/path availability sudo yunohost app checkurl "${domain}${path}" -a "$app" \ @@ -77,3 +77,8 @@ sudo cp ../conf/php-fpm.conf "$phpfpm_conf" # Reload services sudo systemctl reload php5-fpm sudo systemctl reload nginx + +# Post-installation +cd $(DESTDIR)/www +printf '\nDefault title\n$(author)\ny\n${domain}\n\n\n\n\n\n\n\n\n\n\n\n' | pelican-quickstart +pelican -s pelicanconf.py