hilfe mein git ist komisch

This commit is contained in:
cutemeli
2026-01-08 18:34:49 +01:00
parent 710537a25d
commit b2d2dce845
4644 changed files with 94994 additions and 1763 deletions

23
etc/profile.d/phpenv.sh Normal file
View File

@@ -0,0 +1,23 @@
### Copyright 1999-2025. WebPros International GmbH. All rights reserved.
# Enables phpenv and its shims for all Plesk subscription users
# Disable phpenv if either of the following is true:
# * user is not a Plesk subscription user
# * user is running under CageFS, chrooted shell, or similar
# * phpenv is not executable
# * ~/.nophpenv exists and is a regular file
# * 'php.phpenv' is disabled in panel.ini (contains '[php]phpenv = off' or equivalent)
if id -Gn | grep -q '\<psacln\>' &&
[ -e /dev/fd -a -x /opt/plesk/phpenv/bin/phpenv -a ! -f ~/.nophpenv ] &&
! sed -ne '/^\s*\[php\]\s*$/,/^\s*\[/ s/^phpenv\s*=\s*\(.*\)\s*$/\1/g p' /usr/local/psa/admin/conf/panel.ini 2>/dev/null |
tail -n1 | grep -Eiq 'off|false|no|0'
then
if [ ! -e ~/.phpenv ]; then
mkdir -p ~/.phpenv
ln -snfT /opt/plesk/php ~/.phpenv/versions
fi
export PATH="/opt/plesk/phpenv/bin:$PATH"
eval "$(phpenv init -)"
fi