aboutsummaryrefslogtreecommitdiffstats
path: root/.homeinstall/hubzilla-setup.sh
diff options
context:
space:
mode:
authorOJ Random <ojrandom@protonmail.com>2018-11-14 16:27:27 +0100
committerOJ Random <ojrandom@protonmail.com>2018-11-14 16:27:27 +0100
commit71cc2d7d5d7c74e7743a39720b3c418b95dba16e (patch)
treee57e73b2a21a07a207ae7281f8521905f6eae995 /.homeinstall/hubzilla-setup.sh
parentbeac45b0753c3362b8270f94c8d6e946eda36f01 (diff)
downloadvolse-hubzilla-71cc2d7d5d7c74e7743a39720b3c418b95dba16e.tar.gz
volse-hubzilla-71cc2d7d5d7c74e7743a39720b3c418b95dba16e.tar.bz2
volse-hubzilla-71cc2d7d5d7c74e7743a39720b3c418b95dba16e.zip
localhost, URLs, version updates
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