mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-18 23:11:54 +00:00
11 lines
337 B
Fish
11 lines
337 B
Fish
|
# Set path to perl scriptdirs if they exist
|
||
|
# https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts
|
||
|
|
||
|
if status --is-login
|
||
|
for perldir in /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl
|
||
|
if test -d $perldir; and not contains $perldir $PATH
|
||
|
set PATH $PATH $perldir
|
||
|
end
|
||
|
end
|
||
|
end
|