mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-16 04:19:07 +00:00
Space/Tab updatecheck.sh
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
1cd40dc9e5
commit
aca359c2e2
1 changed files with 32 additions and 32 deletions
|
@ -32,9 +32,9 @@ function get_local_branch() {
|
|||
}
|
||||
|
||||
function get_local_version() {
|
||||
# Return active branch
|
||||
cd "${1}" 2> /dev/null || return 1
|
||||
git describe --long --dirty --tags || return 1
|
||||
# Return active branch
|
||||
cd "${1}" 2> /dev/null || return 1
|
||||
git describe --long --dirty --tags || return 1
|
||||
}
|
||||
|
||||
if [[ "$2" == "remote" ]]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue