From 532344a28cb9cbd4376b6a2979197d2979d27ebf Mon Sep 17 00:00:00 2001 From: vhsdream Date: Thu, 6 Mar 2025 15:59:50 -0500 Subject: [PATCH] stash modified files before git pull on update --- ct/calibre-web-automated.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/calibre-web-automated.sh b/ct/calibre-web-automated.sh index 5bfaee3..bfb5d7b 100644 --- a/ct/calibre-web-automated.sh +++ b/ct/calibre-web-automated.sh @@ -47,6 +47,7 @@ function update_script() { cd /opt/calibre-web $STD pip install --upgrade calibreweb[goodreads,metadata,kobo] cd /opt/cwa + $STD git stash --all $STD git pull $STD pip install -r requirements.txt wget -q https://raw.githubusercontent.com/vhsdream/cwa-lxc/refs/heads/dev/proxmox-lxc.patch -O /opt/cwa.patch # not for production