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: