mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
18 lines
596 B
Bash
18 lines
596 B
Bash
# Set path to perl scriptdirs if they exist
|
|
# Added /usr/bin/*_perl dirs for scripts
|
|
# Remove /usr/lib/perl5/*_perl/bin in next release
|
|
|
|
[ -d /usr/bin/site_perl ] && PATH=$PATH:/usr/bin/site_perl
|
|
[ -d /usr/lib/perl5/site_perl/bin ] && PATH=$PATH:/usr/lib/perl5/site_perl/bin
|
|
|
|
[ -d /usr/bin/vendor_perl ] && PATH=$PATH:/usr/bin/vendor_perl
|
|
[ -d /usr/lib/perl5/vendor_perl/bin ] && PATH=$PATH:/usr/lib/perl5/vendor_perl/bin
|
|
|
|
[ -d /usr/bin/core_perl ] && PATH=$PATH:/usr/bin/core_perl
|
|
|
|
export PATH
|
|
|
|
# If you have modules in non-standard directories you can add them here.
|
|
#export PERLLIB=dir1:dir2
|
|
|