Commit graph

  • 3a9b39b842 adjust text in update_dialogs() whiptail Promofaux 2016-10-15 21:12:13 +0100
  • e612003293 handle arguments better, convert to flags, echo when they're set to true. Promofaux 2016-10-15 20:52:20 +0100
  • a43577fa26 add reconfigure flag to -r command Promofaux 2016-10-15 20:43:03 +0100
  • 785174ef87 Merge 5a7e31e1bb into b5b240d0be Adam Warner 2016-10-15 19:27:59 +0000
  • 7e10dcdcf0 update pihole bash-completion Promofaux 2016-10-15 20:12:16 +0100
  • 7ee1110351 ugh. pihole.conf. Promofaux 2016-10-15 20:09:38 +0100
  • 51c4c51d9e Add trap to check existence of setupVars Promofaux 2016-10-15 20:03:33 +0100
  • fc4fe54099 standardise function naming Promofaux 2016-10-15 20:02:57 +0100
  • b5b240d0be Merge pull request #789 from pi-hole/legacy_setupVars Dan Schaper 2016-10-15 11:41:58 -0700
  • 4c42f00a86 remove uses of ${SUDO} and root check from gravity. As this is handled by pihole command. Promofaux 2016-10-15 18:42:53 +0100
  • 090fbd04af Remove ${SUDO} usages and root checks from scripts called by pihole command as they should not be called directly. Promofaux 2016-10-15 17:54:04 +0100
  • 461de48625 function declarations as per basic-install.sh Promofaux 2016-10-15 17:25:17 +0100
  • 9352ba6e4a about time we exit 0'd Promofaux 2016-10-15 17:16:44 +0100
  • 5e883239f9 remove calls for ${SUDO} as per basic-install.sh. Promofaux 2016-10-15 17:15:59 +0100
  • 5ea08a2120 add -r to reconfigure pihole (basically runs basic-install.sh from /etc/.pihole) Promofaux 2016-10-15 17:07:08 +0100
  • a6fa60868b spacing Promofaux 2016-10-15 15:41:48 +0100
  • 99878ae7d6 reflect name change of some of the variables in setupVars Promofaux 2016-10-15 15:40:12 +0100
  • 5a7e31e1bb Move update_dialogs so that we are sure whiptail is installed! Thanks @shadiakiki1986 Promofaux 2016-10-15 11:21:01 +0100
  • 58815ded8a Merge 27ff1119d3 into 24ccdbeaf9 Shadi Akiki 2016-10-15 10:10:36 +0000
  • 27ff1119d3 add install whiptail before update_dialogs Shadi Akiki 2016-10-15 12:22:33 +0300
  • 6230bf8414 Merge bbcdfb075d into 24ccdbeaf9 Shadi Akiki 2016-10-15 09:17:36 +0000
  • bbcdfb075d add install whiptail before update_dialogs Shadi Akiki 2016-10-15 11:27:54 +0300
  • 348dd696a1 Move contributer file Mcat12 2016-10-15 12:16:19 +0300
  • 24ccdbeaf9 Merge branch 'development' into db Promofaux 2016-10-15 02:00:55 +0100
  • 8973bd6d90 Merge branch 'InstallFixes2' into db Promofaux 2016-10-15 01:59:51 +0100
  • 26202014a2 stdout formatting bcambl 2016-10-12 20:23:12 -0600
  • f4f8b96788 remove systemd selinux rules on init systems bcambl 2016-10-12 20:08:22 -0600
  • e5ede16749 update yum/dnf package count grepfu bcambl 2016-10-12 20:04:20 -0600
  • fbe3547129 EPEL is not required on Fedora bcambl 2016-10-11 00:01:11 -0600
  • 23f7363c70 Merge pull request #774 from pi-hole/InstallFixes2 Dan Schaper 2016-10-12 11:47:15 -0700
  • 97c44042e1 Adding failing shellcheck test and results diginc 2016-10-10 23:18:05 -0500
  • a03caea549 setupVar tests passing for debian & centos diginc 2016-10-10 23:14:39 -0500
  • aa23fb1d56 choose* Promofaux 2016-10-10 22:34:12 +0100
  • 4f35aac6dd transpose $ and " Promofaux 2016-10-10 22:32:30 +0100
  • 4418ca9e9f Missing quote replacement. Dan Schaper 2016-10-10 11:41:29 -0700
  • 570611fc09 CentOS Firewall fix Dan Schaper 2016-10-10 11:30:15 -0700
  • 94dd5b1ebe More CentOS fixes. Dan Schaper 2016-10-10 11:05:29 -0700
  • d498e01042 fix php-sqlite package check Adam Warner 2016-10-10 18:41:54 +0100
  • c5adfd2c6e Merge branch 'InstallFixes2' into db Adam Warner 2016-10-10 18:37:53 +0100
  • 74524e024d Always check PIHOLE_dependencies. Dan Schaper 2016-10-10 10:36:19 -0700
  • f1dbd11b34 Merge branch 'InstallFixes2' into db Fixed Conflicts Adam Warner 2016-10-10 18:23:08 +0100
  • 324e00194f Merge pull request #766 from pi-hole/Mcat12-move-contributor Adam Warner 2016-10-10 17:35:22 +0100
  • e42b6dcc8e create_pihole_user update @diginc. Dan Schaper 2016-10-10 09:21:28 -0700
  • a6e3d4f9bb Merge 84680b855a into d169305e5d Dan Schaper 2016-10-10 16:18:43 +0000
  • 84680b855a create_pihole_user Update Dan Schaper 2016-10-10 09:18:42 -0700
  • d71b799e75 More cleanups, localize variables, clean formatting. Dan Schaper 2016-10-10 08:23:14 -0700
  • 87e7121332 Gravity.sh checks for null value for variables, obliging that expectation. Dan Schaper 2016-10-10 07:32:16 -0700
  • 94f6354c94 Spinner blocks set -e trying to get it in functions that won't crash out... Dan Schaper 2016-10-10 07:25:43 -0700
  • b79059ebdb Start to add the spinner back in! Dan Schaper 2016-10-10 06:46:30 -0700
  • 07b7e8a1a6 Track down a couple more variable name changes. Dan Schaper 2016-10-10 06:33:56 -0700
  • 7ae2fc37c0 Match up descriptive variable names with setupVars.conf. Rectifies Ubuntu 16.04 gravity.list bug. Dan Schaper 2016-10-10 06:23:17 -0700
  • 4f98c1bebb Boolean operators inside quotes don't work well... Dan Schaper 2016-10-10 06:16:00 -0700
  • 2feec01e10 Add start_service and enable_service functions to handle restating services and setting services to start on reboot. Dan Schaper 2016-10-10 06:06:34 -0700
  • 72b95e192e Fix logic bug in setup_user, update how setupVars are sourced so they will only be used if the user selects update and not if they select install. Dan Schaper 2016-10-10 05:45:37 -0700
  • 47aad254d8 localized some more variables Dan Schaper 2016-10-10 03:56:03 -0700
  • bc14074d2a Tighten up Update Whiptail appearance. Dan Schaper 2016-10-10 03:39:32 -0700
  • 5ab5b1a190 Overhaul dnsmasq version 3 way handshake configuration files. Dan Schaper 2016-10-10 03:23:52 -0700
  • b055f190f5 Factor out interfaces detection. Dan Schaper 2016-10-10 03:16:22 -0700
  • 84b8953352 Remove quiet flags from package managment variables. Set quiets in functions by redirecting output. Dan Schaper 2016-10-10 02:58:38 -0700
  • 93a591d487 Linting from ShellCheck Dan Schaper 2016-10-10 02:57:04 -0700
  • e6c0f38a7c Monolithic changes in one commit again. Dan Schaper 2016-10-10 02:24:03 -0700
  • d169305e5d Merge branch 'Fix/installerIssues' into development Dan Schaper 2016-10-10 09:08:35 +0000
  • f107ae4f9b Merge conflict resolution Dan Schaper 2016-10-10 09:08:25 +0000
  • bad7a08804 Refactor and rename create_pihole_user. Now to actually use the user created... Dan Schaper 2016-10-10 01:51:19 -0700
  • 25cbf4cb35 Factor out legacy location script removal. Dan Schaper 2016-10-10 01:43:10 -0700
  • 7f179f9a58 Remove sourcing bash completion, would fall off as soon as the subshell terminated. Dan Schaper 2016-10-10 01:40:56 -0700
  • 5287ea8537 Refactor stopServices into stop_service and accept arguments for service to stop. Quiet output from a few other functions. Dan Schaper 2016-10-10 01:25:11 -0700
  • 43e2aaebf0 rename updateDialogs to update_dialogs Dan Schaper 2016-10-10 01:04:59 -0700
  • e60eb66283 UpdateDialogs are now a Whiptail Menu, self-explanatory. Dan Schaper 2016-10-10 01:04:03 -0700
  • ca59b808d8 Git clone/update now occurs right after installer dependency checks. Allows for inclusion of installer source files in the repo. Passes set -e Dan Schaper 2016-10-10 00:02:50 -0700
  • 8a15fd44d5 Update is_repo() to use git status for validity checks. Dan Schaper 2016-10-09 23:53:18 -0700
  • dac2b8942e Typo fix to generate commit. Dan Schaper 2016-10-09 22:38:00 -0700
  • 54a1c5b63a Revert inadvertent commits Dan Schaper 2016-10-09 22:35:14 -0700
  • 61b02bf6d3 Add OR TRUE to PKG_COUNT so that a 0 package to update doesn't grep -c to an exit value of 1. Dan Schaper 2016-10-09 22:27:37 -0700
  • 9d048b2fdf Move Pi-hole dependency checks to main() and out of duplicated install and update functions. Bring them up a level in the subshells. Dan Schaper 2016-10-09 22:24:13 -0700
  • d9e28a7422 factor out installer_dependencies Dan Schaper 2016-10-09 22:05:06 -0700
  • 1fecdf42ca Move git to installer deps, refactor some functions. Dan Schaper 2016-10-09 22:00:23 -0700
  • d4bf85b67c Self contain package_check into package_check_install. Passes set -e test. Dan Schaper 2016-10-09 21:44:45 -0700
  • 7131ff27c3 Attempt to set -e Dan Schaper 2016-10-09 21:32:25 -0700
  • a30f78c1c8 Oneliner php version check, passes set -e check. Dan Schaper 2016-10-09 21:31:36 -0700
  • 7e0afffca8 Revert inadvertent commits Dan Schaper 2016-10-09 19:41:32 -0700
  • 293c60fb9c Exit script on failure to install dependent package. Dan Schaper 2016-10-09 13:52:36 -0700
  • f5be8b2a5e Single dependency package check function, will exit if any errors with message to update cache. Dan Schaper 2016-10-09 13:43:01 -0700
  • 6772603c15 Relocate cache check to its own function Dan Schaper 2016-10-09 12:34:53 -0700
  • a22904f99b Merge pull request #769 from pi-hole/Fix/PackageCacheFresh Jacob Salmela 2016-10-09 09:00:52 -0500
  • 6710d2852f Merge pull request #770 from pi-hole/Fix/InstallerWrap Jacob Salmela 2016-10-09 08:41:47 -0500
  • b157bc5cd7 Fixes #768 Check the staleness of the package index instead of the package cache. Dan Schaper 2016-10-08 13:47:35 -0700
  • 10e1a03c76 runGravity is called after finalExports in the Debian install side. Dan Schaper 2016-10-08 12:58:42 -0700
  • d20df92e9f Script will now run as root, removed sudo from function calls. Dan Schaper 2016-10-08 12:56:26 -0700
  • 44170207ac Add main function and fire script from main call. Prevents script from running before it is entirely downloaded. Dan Schaper 2016-10-08 12:17:04 -0700
  • 9354799a26 Move contributer file Mcat12 2016-10-08 12:06:23 -0400
  • 731e445989 Update basic-install.sh Dan Schaper 2016-10-08 01:28:38 -0700
  • 22e57a7e51 Merge 9ed4c37a98 into 5966d76e9a Marcus Ball 2016-10-08 04:53:57 +0000
  • 9ed4c37a98 Fixed missing = in equality comparison Marcus Ball 2016-10-08 00:50:23 -0400
  • 33745be745 Merge pull request #753 from pi-hole/feature/RemoveBarePHP Dan Schaper 2016-10-07 21:32:07 -0700
  • f46c92856e Change Update/Install to menu for user clarity. And a few other changes that I don't remember exactly what I did... Dan Schaper 2016-10-07 21:31:21 -0700
  • 165bdd949b Merge 711fcd7ae0 into 6a28070017 Dan Schaper 2016-10-08 03:48:49 +0000
  • 711fcd7ae0 Reorder a few functions to get ready to local/global variables and start to migrate to using setupVars for storage. Dan Schaper 2016-10-07 20:48:34 -0700
  • af2d9055fc Remove source'ing bash completion fragment, would fall out out scope as soon as the script ends. Dan Schaper 2016-10-07 20:08:28 -0700
  • f91fc54f89 Lint errors Dan Schaper 2016-10-07 20:07:22 -0700