From bfbfc382f57b8e3b2a2be874c1d766b1b6dd7500 Mon Sep 17 00:00:00 2001 From: polytan02 Date: Mon, 1 Jun 2015 20:21:38 +0100 Subject: [PATCH] Update of index.html to indicate website path of files to install on the server --- scripts/install | 2 ++ sources/index.html | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index 3a5c80a..044a6da 100644 --- a/scripts/install +++ b/scripts/install @@ -36,6 +36,8 @@ sudo yunohost app setting $app sitename -v $sitename sudo mkdir -p $final_path # Base site +sed -i "s@DOMAINTOCHANGE@$domain@g" ../sources/index.html +sed -i "s@SITETOCHANGE@$sitename@g" ../sources/index.html sudo cp ../sources/index.html $final_path/ # Set permissions diff --git a/sources/index.html b/sources/index.html index 0ea42de..371e38a 100644 --- a/sources/index.html +++ b/sources/index.html @@ -7,6 +7,12 @@

Congratulation, you have just installed your custom web app without ftp access.


+
+

Place your files in /var/www/webapp_multi/DOMAINTOCHANGE/SITETOCHANGE to install your site.

+ +
+
+

As a reward, here is a random cat picture: