50f143f8af
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/perl-local-lib#8fb7d5affb3ca23d53f2f4fffbfef27d7c3a49ec
17 lines
403 B
Bash
17 lines
403 B
Bash
# invoke local::lib
|
|
|
|
# default -- invoke local::lib for all users
|
|
PERL_HOMEDIR=1
|
|
|
|
# load our configs, aka opportunities to set PERL_HOMEDIR=0
|
|
[ -f /etc/sysconfig/perl-homedir ] && . /etc/sysconfig/perl-homedir
|
|
[ -f $HOME/.perl-homedir ] && . $HOME/.perl-homedir
|
|
|
|
alias perlll='eval `perl -Mlocal::lib`'
|
|
|
|
# if system default
|
|
if [ "x$PERL_HOMEDIR" = "x1" ] ; then
|
|
|
|
eval `perl -Mlocal::lib`
|
|
fi
|