Forked from Axxon/gist:c150339eba06dd5cd8ec8b9e2904e40e
Created
January 16, 2022 06:58
-
-
Save sasajib/9a0b2a45b182d7a6f96f9fcdca790613 to your computer and use it in GitHub Desktop.
Fix append_path message (add fn in /etc/profile.d/perlbin.sh)
This file contains hidden or 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