Remove copied contenv, source from mods now

This commit is contained in:
TheSpad 2023-03-01 11:25:17 +00:00
parent 6885b0281f
commit 041a1544c9
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -1,9 +0,0 @@
#!/bin/bash
if [[ -f /run/s6/container_environment/UMASK ]] &&
{ [[ "$(pwdx $$)" =~ "/run/s6/legacy-services/" ]] ||
[[ "$(pwdx $$)" =~ "/run/s6/services/" ]] ||
[[ "$(pwdx $$)" =~ "/servicedirs/svc-" ]]; }; then
umask "$(cat /run/s6/container_environment/UMASK)"
fi
exec /command/with-contenv "$@"