By setting PERL5LIB in the SYSV init script and in the systemd unit file we will work around the different values of the perl @INC array in the different distributions. With PERL5LIB set to /usr/lib/perl5/vendor_perl, the squeezebox server executable will search for modules in that directory before it searches any of the directories in the @INC array.
As result it is no longer needed to create a symbolic link pointing to /usr/lib/perl5/vendor_perl from a directory present in @INC on any of the RPM based distributions.
By setting PERL5LIB in the SYSV init script and in the systemd unit file we will work around the different values of the perl @INC array in the different distributions. With PERL5LIB set to /usr/lib/perl5/vendor_perl, the squeezebox server executable will search for modules in that directory before it searches any of the directories in the @INC array.
As result it is no longer needed to create a symbolic link pointing to /usr/lib/perl5/vendor_perl from a directory present in @INC on any of the RPM based distributions.