Commit Graph
31 Commits
Author SHA1 Message Date
dkoao 5cafd91c66 Add apt_purge function to remove packages 2019-09-27 16:41:01 +00:00
dkoao d8c4cf2b28 fixed typo 2019-09-27 13:49:47 +00:00
dkoao 658fe0ceeb Reduce duplicated code in the handling of roundcube's plugins 2019-09-27 10:32:14 +00:00
dkoao 97ac5553e4 fix indentation 2019-09-27 09:54:03 +00:00
dkoao e2d8fd5665 check if the Nextcloud fail2ban configuration isn't already added 2019-09-27 09:40:09 +00:00
dkoao de6b977e21 Add quotation marks to the echo call 2019-09-27 08:45:44 +00:00
dkoao 403d9fdb7d add further clarity to the "Disable Nextcloud?" question 2019-09-27 08:43:42 +00:00
dkoao 610fbc5d49 rename nextcloud-conf.conf to nginx-nextcloud.conf 2019-09-27 08:19:06 +00:00
dkoao fdd6628709 Check if Nextcloud is already installed before asking the user if it should be disabled 2019-09-27 03:25:56 +00:00
dkoao 098f24469a Ask the user if he/she wants to disable Nextcloud 2019-09-26 22:46:26 +00:00
dkoao 7160d3c6a5 Add a Yes/No function 2019-09-26 22:34:54 +00:00
dkoao 8984180787 fix order of Nginx config 2019-09-26 11:04:37 +00:00
dkoao c0e8604532 Reduce nginx config duplication by separating the Nextcloud config into its own file 2019-09-26 10:51:46 +00:00
dkoao 86fef267f6 reduce duplicated lines 2019-09-26 10:35:12 +00:00
dkoao b9d367adff add quotation marks 2019-09-26 10:32:24 +00:00
dkoao 4f5fb7fe4b explain why Nextcloud gets skipped 2019-09-26 10:26:44 +00:00
dkoao 9754e78f20 replace two if statements with one 2019-09-26 10:24:40 +00:00
dkoao e41cfc30b8 replace '1' with '0', as 0 stands for true in sh. 2019-09-26 10:00:12 +00:00
dkoao 857ccaa06c Implement a new way to handle the Nextcloud fail2ban config.
If the user wants Nextcloud to be installed, the setup script will simply append the relevant rules to the config file.
This is more efficient than having two separate files.
2019-09-26 09:20:52 +00:00
dkoao d30c4d615d get the line responsible for recording the roundcube version out of the DISABLE_NEXTCLOUD check
because it's unrelated
2019-09-26 08:55:19 +00:00
dkoao d78a6b26a5 added more clarity to the boolean logic 2019-09-26 04:08:58 +00:00
dkoao 732a7f9fa2 added an additional quotation mark 2019-09-26 04:05:03 +00:00
dkoao a02657e99c fixed a logical error with the handling of DISABLE_NEXTCLOUD env variable 2019-09-26 03:35:25 +00:00
dkoao 9e2fd98848 check if the user didn't want to install Nextcloud 2019-09-26 03:20:24 +00:00
dkoao 0414a375c9 check if the user didn't choose to install Nextcloud 2019-09-26 03:12:18 +00:00
dkoao fb8c380cd6 improve sync-guide's clarity about the contacts and calendar features 2019-09-26 03:08:26 +00:00
dkoao ef1327d7bd add further Nextcloud checks 2019-09-26 03:06:35 +00:00
dkoao 81d7fdb63f add further checks 2019-09-26 03:02:35 +00:00
dkoao 27b3e8f1a1 Check if the user didn't want to setup Nextcloud 2019-09-26 02:41:33 +00:00
dkoao bc7aa885e4 Check if the user decided to not install Nextcloud and configure Nginx accordingly 2019-09-26 02:32:30 +00:00
dkoao 8eb89c2b4e modifying start.sh to check if the environment variable DISABLE_NEXTCLOUD is set to 1
if it is set 1, it'll skip setting up Nextcloud
2019-09-26 02:17:59 +00:00