aboutsummaryrefslogtreecommitdiff
path: root/src/python/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/install.sh')
-rwxr-xr-xsrc/python/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/install.sh b/src/python/install.sh
index d823cc9..2c4792a 100755
--- a/src/python/install.sh
+++ b/src/python/install.sh
@@ -15,7 +15,7 @@ OVERRIDE_DEFAULT_VERSION=${OVERRIDEDEFAULTVERSION:-"true"}
export PIPX_HOME=${PIPX_HOME:-"/usr/local/py-utils"}
-USERNAME=${USERNAME:-"automatic"}
+USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
UPDATE_RC=${UPDATE_RC:-"true"}
USE_ORYX_IF_AVAILABLE=${USEORYXIFAVAILABLE:-"true"}