Skip to content

Commit 5ca7348

Browse files
Removed unnecessary application ofNETWORK_SHARE_MODE to s6-services
1 parent ffb49c5 commit 5ca7348

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

CONTRIBUTORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CONTRIBUTORS
22

33
This file is automatically generated. DO NOT EDIT MANUALLY.
4-
Generated on: 2025-09-14T08:43:14.575952Z
4+
Generated on: 2025-09-14T09:03:35.654569Z
55

66
Upstream project: https://github.com/janeczku/calibre-web
77
Fork project (Calibre-Web Automated, since 2024): https://github.com/crocodilestick/calibre-web-automated

scripts/check-cwa-services.sh

100644100755
File mode changed.

scripts/setup-cwa.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ make_dirs () {
1010

1111
# Change ownership & permissions as required
1212
change_script_permissions () {
13-
if [ "${NETWORK_SHARE_MODE,,}" = "true" ] || [ "${NETWORK_SHARE_MODE}" = "1" ] || [ "${NETWORK_SHARE_MODE,,}" = "yes" ] || [ "${NETWORK_SHARE_MODE,,}" = "on" ]; then
14-
echo "[setup-cwa] NETWORK_SHARE_MODE=true detected; skipping chown of /etc/s6-overlay"
15-
else
16-
chown -R abc:abc /etc/s6-overlay
17-
fi
13+
chown -R abc:abc /etc/s6-overlay
1814
chmod +x /etc/s6-overlay/s6-rc.d/cwa-auto-library/run
1915
chmod +x /etc/s6-overlay/s6-rc.d/cwa-auto-zipper/run
2016
chmod +x /etc/s6-overlay/s6-rc.d/cwa-ingest-service/run

0 commit comments

Comments
 (0)