Commit Graph

28 Commits (ecde2225122904a89543712ec8f2b0fd1da26ff6)

Author SHA1 Message Date
Adam Warner ecde222512 [Staging] 3.1 (#1502)
7 years ago
Flo 7e0aa822b6 Match the Pi-hole brand (#1358)
7 years ago
Dan Schaper b0ae954f1e
Only update when `update` flag is set to "true"
7 years ago
Dan Schaper a2404f104a
Just some style and linting. And a `cd` in `fetch_checkout_pull_branch`
7 years ago
DL6ER 38547ced7a
Can only diff once upstream branch is tracked
7 years ago
DL6ER 9a9d9007cd
Add missing "== true"
7 years ago
DL6ER bd2d81f691
source setupVars.conf to see if INSTALL_WEB is true or not
7 years ago
DL6ER 1b9e7fbf2e
Test if branch is locally available is not reliable because of possible ambiguities
7 years ago
DL6ER d4a49d192f
Correct variable name
7 years ago
DL6ER 8cb66544d2
Remove "\ "
7 years ago
DL6ER 140ac192aa
The web repo might actually be missing and this is n error (not installed because the user didn't want it)
7 years ago
DL6ER b961b13d60
Small bugfix
7 years ago
DL6ER febdb4a190
Use git diff to determine if code has changed (no need to run the installer if it hasn't changed at all)
7 years ago
DL6ER 1d60b62e7a
Testing alternative way of fetching/checking out of a single branch
7 years ago
Dan Schaper 41e1e4cb68
Rearrange pull logic, some optimization.
7 years ago
Dan Schaper d5b88e0df8
Get the right name for the options.
7 years ago
Dan Schaper 20fd61468d
Require branch to check out
7 years ago
Dan Schaper 0a0d25dff4
Script runs in subshell, no need to cd back to pwd.
7 years ago
DL6ER 81a1057cac
Fix something Dan has overlooked
7 years ago
DL6ER fd310c6445
Back to how we had it before, because --unshallow does not work at all
7 years ago
Dan Schaper a9b52518bf
Shift numbers for argument identifiers, functions are called after `shift`
7 years ago
Dan Schaper 87da40068c
Always `exit`ed with value 1, now exits with proper value.
7 years ago
Dan Schaper b8f1eadb7f
Shift off `checkout` from being passed to script from `pihole`
7 years ago
Dan Schaper b522d8eaf6
Source and reuse existing variables, centralize code.
7 years ago
Dan Schaper 89ff99322d
Don't need to remember `pwd` inside a function, calling function doesn't change directories.
7 years ago
Dan Schaper 56e17d1010
Source functions and variables from basic-install.sh
7 years ago
DL6ER d2ab0694b7
Add "master" shortcut
7 years ago
DL6ER 8a14a63d5d
Pi-hole checkout feature
7 years ago