We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 779cf4d commit 035c691Copy full SHA for 035c691
nextcloud_update.sh
@@ -395,6 +395,27 @@ Please check in $BACKUP if the folders exist."
395
exit 1
396
fi
397
398
+# Update Bitwarden
399
+if [ "$(docker ps -a >/dev/null 2>&1 && echo yes || echo no)" == "yes" ]
400
+then
401
+ if docker ps -a --format '{{.Names}}' | grep -Eq "bitwarden";
402
+ then
403
+ if [ "$(dpkg-query -W -f='${Status}' "apache2" 2>/dev/null | grep -c "ok installed")" == "1" ]
404
405
+ if [ -d /root/bwdata ]
406
407
+ if [ -f /root/bitwarden.sh ]
408
409
+ print_text_in_color "$IGreen" "Upgrading Bitwarden..."
410
+ sleep 2
411
+ bash /root/bitwarden.sh updateself
412
+ bash /root/bitwarden.sh update
413
+ fi
414
415
416
417
+fi
418
+
419
# Start Apache2
420
start_if_stopped apache2
421
0 commit comments