From 0afa4ce2c3a16b01c56555d80dba23e3b2cd00f8 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Wed, 1 Mar 2023 11:01:47 +0000 Subject: [PATCH] Remove copied contenv, source from mods now --- root/usr/bin/with-contenv | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 root/usr/bin/with-contenv diff --git a/root/usr/bin/with-contenv b/root/usr/bin/with-contenv deleted file mode 100755 index e9e1bc8..0000000 --- a/root/usr/bin/with-contenv +++ /dev/null @@ -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 "$@"