Commit Graph

333 Commits (0ef8832b041b61383f4d029857790701757bc049)

Author SHA1 Message Date
Dan Schaper b636c1e1f8 Whitespace.
8 years ago
Dan Schaper 8b9f0487c0 Merge branch 'feature/defensiveTweaks' of https://github.com/pi-hole/pi-hole into feature/defensiveTweaks
8 years ago
Dan Schaper ece1667fb0 Refactor and move some bits.
8 years ago
Adam Warner 50bd8b4a09 Further tweaks to local repo handling
8 years ago
Dan Schaper 93d91353a1 All tabs now spaced
8 years ago
Dan Schaper 8dc9143b34 Just delete, no need to cd there first.
8 years ago
Dan Schaper a0d9a1133c Factoring and combining functions
8 years ago
Dan Schaper 035e4bf727 Move value checks to `if` calls.
8 years ago
Dan Schaper 9ec5bbd560 Actually get `is_repo` to return a value and have it expected.
8 years ago
Dan Schaper 34482c5ed6 Modified `is_repo`
8 years ago
Dan Schaper 7d414b5628 Move version messages to main function, check for repos.
8 years ago
Dan Schaper d9528dfd09 Bash is funny with returns.
8 years ago
Dan Schaper 9c83825cb8 Merge branch 'feature/defensiveTweaks' of https://github.com/pi-hole/pi-hole into feature/defensiveTweaks
8 years ago
Dan Schaper 7a22471787 New naming convention, and reorder functions as bash would prefer them to be.
8 years ago
diginc c30478bf4a cleanup and use sentintel in is_repo
8 years ago
diginc d986746ef9 missing quote added
8 years ago
diginc a8fa061f2e quote all the assignments prevent accidental glob splitting
8 years ago
Dan Schaper bdd240ecb6 Shellcheck catch for always true expansion.
8 years ago
Dan Schaper 04da292df9 Missed one spinner, updated and exit script if github is unreachable.
8 years ago
Dan Schaper 85b8676b8e Remove spinner, no functions here should last that long, and it masks a few potential exit avenues.
8 years ago
Dan Schaper 114bc13c23 Specify path, cron may not know where the files are located.
8 years ago
Dan Schaper 5fef5f1ed4 Break down `is_repo` to make sure it does what is expected.
8 years ago
Dan Schaper 807b60b0e6 Missed the second reinstaller....
8 years ago
Dan Schaper fbc800e556 If unattened reinstall fails, notify user and exit script immediately.
8 years ago
Dan Schaper 1991ee7a7d Google Style Guide. `readonly` and cap constants.
8 years ago
Dan Schaper ffbfadbccf Detail what the script does.
8 years ago
Dan Schaper c3e2bce956 Variables declared as strings, make sure they are strings when we use them in functions.
8 years ago
Dan Schaper 0c9520d7e3 Protect against unexepcted return values (GitHub not responding as we'd expect.) And make sure bash doesn't maul the variables and cause firing of unattended reinstall of application when values returned aren't as expected.
8 years ago
Dan Schaper 1e7e5230cc Clarify what exactly is being called and the expected returned value format
8 years ago
Dan Schaper f1efc97357 Clairfy condition to make sure they operate as per the specs of the logic flow layout.
8 years ago
Adam Warner d6fe48112c Merge pull request #857 from pi-hole/feature/debugUpdate
8 years ago
Dan Schaper dcf6e6b14d Clarify user action required to end the scripts.
8 years ago
Dan Schaper 908697a963 User token instructions, and small bugfix for missing separator.
8 years ago
Dan Schaper fad2d6b1d1 Return values start showin up now. Logic operators too...
8 years ago
Dan Schaper 9cd830b6aa Start to refine tests and clean up code.
8 years ago
Dan Schaper d9a16b0ff4 Clear up bottom half of script with fewer redundenicies.
8 years ago
Dan Schaper cb5c94ef5e Sorry, left that gravity.list parser in. Big debug files. Cleared that up.
8 years ago
Dan Schaper 85fbd66871 Good commit point, number of changes
8 years ago
Eric Warnke 3da75d6125 Grep was leaking a file not found if blacklist didn't exist
8 years ago
Dan Schaper d4a3a5c180 Trying to implement The Brontide Idiom for design.
8 years ago
Dan Schaper 71e3a473d6 Fix = underbar
8 years ago
Dan Schaper c2cfc09f63 Clean up more of the UX and log. Lots to go.
8 years ago
Dan Schaper 01f10b56e8 Refactor out some more reudndant code.
8 years ago
Dan Schaper 90ec0a610e Tricorder is introduced.
8 years ago
Dan Schaper 42bff1ce1b Move parse utility to be near other parsing functions.
8 years ago
Dan Schaper e3c7a1f31f Top half user output updated.
8 years ago
Dan Schaper 0debbffa70 Add a couple of parsing utility functions.
8 years ago
Jacob Salmela 473b58d26d Merge pull request #704 from stonedbovines/development
8 years ago
Dan Schaper 300001e766 Remove `listen-address` directive
8 years ago
Adam Warner 21fc6344bf Merge pull request #849 from pi-hole/aManHasNoNameResolution
8 years ago