From b9ac0189c2d74c087ebf7f1fd2194ec96211ee45 Mon Sep 17 00:00:00 2001 From: Michiel Hazelhof Date: Fri, 1 Nov 2024 11:05:49 +0100 Subject: [PATCH] Quick and dirty fix --- update-bitwarden.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-bitwarden.sh b/update-bitwarden.sh index 069f983..76472df 100755 --- a/update-bitwarden.sh +++ b/update-bitwarden.sh @@ -71,7 +71,7 @@ cd $BITWARDEN_BASE ./bitwarden.sh updateself # Update the bitwarden.sh: automatically patch run.sh to fix docker-compose pull errors for private images -awk '1;/function downloadRunFile/{c=6}c&&!--c{print "sed -i '\''s/dccmd pull/dccmd pull --ignore-pull-failures || true/g'\'' $SCRIPTS_DIR/run.sh"}' $BITWARDEN_BASE/bitwarden.sh > tmp_bw.sh && mv tmp_bw.sh $BITWARDEN_BASE/bitwarden.sh +awk '1;/function downloadRunFile/{c=13}c&&!--c{print "sed -i '\''s/dccmd pull/dccmd pull --ignore-pull-failures || true/g'\'' $SCRIPTS_DIR/run.sh"}' $BITWARDEN_BASE/bitwarden.sh > tmp_bw.sh && mv tmp_bw.sh $BITWARDEN_BASE/bitwarden.sh chmod +x $BITWARDEN_BASE/bitwarden.sh echo "Patching bitwarden.sh completed..."