summaryrefslogtreecommitdiffstats
path: root/update.sh
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2023-03-21 19:31:21 +0000
committerGitHub <noreply@github.com>2023-03-21 19:31:21 +0000
commit8c9cdd12682dd39d1a5abf53c1c7574ec5040c73 (patch)
treed66594758854a866963e0182f98c7d22056bfd12 /update.sh
parent6cb8913dc4e126b1bfc348b3d95d62c51591986d (diff)
Add sysvsem (#1952)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index 57724f90..a8089ff3 100755
--- a/update.sh
+++ b/update.sh
@@ -113,6 +113,15 @@ function create_variant() {
s/%%CRONTAB_INT%%/'"$crontabInt"'/g;
' "$dir/Dockerfile"
+ # Nextcloud 26+ recommends sysvsem
+ case "$version" in
+ 24|25 )
+ sed -ri -e '
+ /sysvsem/d
+ ' "$dir/Dockerfile"
+ ;;
+ esac
+
# Copy the shell scripts
for name in entrypoint cron; do
cp "docker-$name.sh" "$dir/$name.sh"