aboutsummaryrefslogtreecommitdiffstats
path: root/.homeinstall/hubzilla-setup.sh
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-11-16 11:30:53 +0100
committerMario <mario@mariovavti.com>2018-11-16 11:30:53 +0100
commit23b30fdd109dec05219624a369e2943dd641fc8a (patch)
tree50af763fc116d94088dbf57c86c9b41fa90df52a /.homeinstall/hubzilla-setup.sh
parentc69556f2ff9845b9ac1bce89be2431a7ac6d3fd7 (diff)
parent22b744fa23f2e6f5995c578d7d920c883c53b7c8 (diff)
downloadvolse-hubzilla-23b30fdd109dec05219624a369e2943dd641fc8a.tar.gz
volse-hubzilla-23b30fdd109dec05219624a369e2943dd641fc8a.tar.bz2
volse-hubzilla-23b30fdd109dec05219624a369e2943dd641fc8a.zip
Merge branch 'dev_homeinstall_raspihub' into 'dev'
localhost, URLs, version updates See merge request hubzilla/core!1396
Diffstat (limited to '.homeinstall/hubzilla-setup.sh')
-rwxr-xr-x.homeinstall/hubzilla-setup.sh34
1 files changed, 27 insertions, 7 deletions
diff --git a/.homeinstall/hubzilla-setup.sh b/.homeinstall/hubzilla-setup.sh
index ff101086c..1f3ad5db5 100755
--- a/.homeinstall/hubzilla-setup.sh
+++ b/.homeinstall/hubzilla-setup.sh
@@ -816,15 +816,35 @@ install_run_selfhost
ping_domain
configure_cron_freedns
configure_cron_selfhost
-install_letsencrypt
-configure_apache_for_https
-check_https
+
+if [ "$le_domain" != "localhost" ]
+then
+ install_letsencrypt
+ configure_apache_for_https
+ check_https
+else
+ print_info "is localhost - skipped installation of letsencrypt and configuration of apache for https"
+fi
+
install_hubzilla
-rewrite_to_https
-install_rsnapshot
+
+if [ "$le_domain" != "localhost" ]
+then
+ rewrite_to_https
+ install_rsnapshot
+else
+ print_info "is localhost - skipped rewrite to https and installation of rsnapshot"
+fi
+
configure_cron_daily
-install_cryptosetup
-write_uninstall_script
+
+if [ "$le_domain" != "localhost" ]
+then
+ install_cryptosetup
+ write_uninstall_script
+else
+ print_info "is localhost - skipped installation of cryptosetup"
+fi
#set +x # stop debugging from here