summaryrefslogtreecommitdiff
path: root/libre-testing/perl/perlbin.fish
diff options
context:
space:
mode:
authorBruno Cichon <ebrasca@librepanther.com>2018-10-01 01:51:03 +0200
committerBruno Cichon <ebrasca@librepanther.com>2018-10-01 01:51:03 +0200
commit56f955aca6231693fe797de4793f77ed58ab116e (patch)
tree17daeabce98174f288bab94b47961dc9e9931e66 /libre-testing/perl/perlbin.fish
parent75ff40baa049bae7e9270d20ef86a88b733006ab (diff)
Add some base packages for ppc64le
Diffstat (limited to 'libre-testing/perl/perlbin.fish')
-rw-r--r--libre-testing/perl/perlbin.fish10
1 files changed, 10 insertions, 0 deletions
diff --git a/libre-testing/perl/perlbin.fish b/libre-testing/perl/perlbin.fish
new file mode 100644
index 000000000..b9cff07a4
--- /dev/null
+++ b/libre-testing/perl/perlbin.fish
@@ -0,0 +1,10 @@
+# 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