diff options
author | root <root@rshg047.dnsready.net> | 2011-05-23 22:47:30 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-23 22:47:30 +0000 |
commit | 87e20a64534e8f58ca4a4f84000b629e48569a98 (patch) | |
tree | 8c4b498a38d72459c7bc88bc02719b4849159d0f /staging/perl/perlbin.sh | |
parent | 3837a11a2a471b9db222d8eb6ed7d2fb9d1778c6 (diff) |
Mon May 23 22:47:30 UTC 2011
Diffstat (limited to 'staging/perl/perlbin.sh')
-rwxr-xr-x | staging/perl/perlbin.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/staging/perl/perlbin.sh b/staging/perl/perlbin.sh new file mode 100755 index 000000000..09811a8b4 --- /dev/null +++ b/staging/perl/perlbin.sh @@ -0,0 +1,23 @@ +# Set path to perl scriptdirs if they exist +# https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_Scripts +# 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 + |