Server : nginx/1.20.1 System : Linux ccpf-production-2021 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 User : forge ( 1000) PHP Version : 7.4.21 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/bin/ |
#!/bin/zsh -f
# This wrapper's sole purpose is to ease the migration of zsh's binary
# location from /bin/zsh5 to /bin/zsh between Debian Jessie and
# Stretch since zsh no more uses the alternatives system as there is
# only one version of zsh left in Debian since Jessie.
#
# Related bug report: https://bugs.debian.org/768079
if [[ "$0" == *zsh5* ]]; then
static=''
if [[ "$0" == *static* ]]; then
static=-static
fi
echo ""
echo " ####"
echo " #### $0 is deprecated, please switch to /bin/zsh${static} (or /usr/bin/zsh)"
if [[ "$1" == "-l" || "$0" == -* ]]; then
echo ' #### Use "chsh -s '"/bin/zsh${static}"'" to change your login shell'
fi
echo " #### This command ($0) will disappear eventually!"
echo " ####"
echo ""
fi 1>&2
exec "/bin/zsh${static}" "$@"