fix: no actualizar en cronjobs

This commit is contained in:
f 2022-11-10 13:32:30 -03:00
parent 306ec0efc0
commit 5729880a37

View file

@ -217,6 +217,8 @@ crear_entorno() {
# Auto-actualizar una vez por hora
actualizar() {
test ! "$TERM" = "dumb" || return
last_update="$(find "$DIR/.git/FETCH_HEAD" -mmin +60 | wc -l)"
if test ! $last_update -ne 0; then