Created
February 19, 2021 21:01
-
-
Save Axxon/c150339eba06dd5cd8ec8b9e2904e40e to your computer and use it in GitHub Desktop.
Fix append_path message (add fn in /etc/profile.d/perlbin.sh)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
append_path() | |
{ | |
case ":$PATH:" in | |
*:"$1":*) | |
;; | |
*) | |
PATH="${PATH:+$PATH:}$1" | |
esac | |
} | |
[ -d /usr/bin/site_perl ] && append_path '/usr/bin/site_perl' | |
[ -d /usr/bin/vendor_perl ] && append_path '/usr/bin/vendor_perl' | |
[ -d /usr/bin/core_perl ] && append_path '/usr/bin/core_perl' | |
export PATH | |
# If you have modules in non-standard directories you can add them here. | |
#export PERLLIB=dir1:dir2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment