summarylogtreecommitdiffstats
path: root/0001-no-self-updating.patch
blob: b219c1f6951d21056c0b2f8d7443daa58d80de76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/functions/antidote-update b/functions/antidote-update
index aa8b5a1..200133a 100644
--- a/functions/antidote-update
+++ b/functions/antidote-update
@@ -38,11 +38,8 @@ if (( $#o_bundles )) || ! (( $#o_self )); then
 fi
 
 # update antidote
-if (( $#o_self )) || ! (( $#o_bundles )); then
-  echo "Updating antidote..."
-  git -C "${0:A:h:h}" pull --quiet --ff --rebase --autostash
-  source "${0:A:h:h}"/antidote.zsh
-  antidote -v
+if (( $#o_self )); then
+  echo "Self updating is disabled in this build."
 fi
 
 # vim: ft=zsh