Quick and dirty fix

This commit is contained in:
Michiel Hazelhof 2024-11-01 11:05:49 +01:00
parent 7f64e2cd4a
commit b9ac0189c2
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF

View File

@ -71,7 +71,7 @@ cd $BITWARDEN_BASE
./bitwarden.sh updateself ./bitwarden.sh updateself
# Update the bitwarden.sh: automatically patch run.sh to fix docker-compose pull errors for private images # 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 chmod +x $BITWARDEN_BASE/bitwarden.sh
echo "Patching bitwarden.sh completed..." echo "Patching bitwarden.sh completed..."