Skip to content

Commit

Permalink
run updatechecker
Browse files Browse the repository at this point in the history
  • Loading branch information
ipitio committed Feb 1, 2024
1 parent 3770257 commit cb46228
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions advanced/Scripts/speedtestmod/mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ download() {
if [ ! -d $dest ]; then # replicate
cd "$path"
rm -rf "$name"
git clone --depth=1 -b "$branch" "$url" "$name"
git clone --depth=1 -b "$branch" "$url" "$name" -q
setTags "$name" "$src" $branch
if [ ! -z "$src" ]; then
if [[ "$localTag" == *.* ]] && [[ "$localTag" < "$latestTag" ]]; then
Expand All @@ -81,8 +81,8 @@ download() {
git fetch origin -q
fi
git reset --hard origin/$branch
git checkout -B $branch -q
git branch -u origin/$branch -q
git checkout -B $branch
git branch -u origin/$branch
git clean -ffdx
fi

Expand Down Expand Up @@ -232,6 +232,8 @@ purge() {
if isEmpty $curr_db; then
rm -f $curr_db
fi

pi-hole updatechecker
}

update() {
Expand Down

0 comments on commit cb46228

Please sign in to comment.