Remove copied contenv, source from mods now

This commit is contained in:
TheSpad 2023-03-01 11:01:47 +00:00
parent 1275a243de
commit 0afa4ce2c3
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 "$@"