Commit db30748d authored by es's avatar es Committed by Stefan Tauner
Browse files

fixup

parent ca4bd225
......@@ -41,11 +41,11 @@ if [ "x$(uname -o)" != "xCygwin" ]; then
dosudo="sudo"
fi
if [ -e '/etc/redhat-release' ]; then
$dosudo dnf install -y $(echo "$packages" | perl -we 'while(<STDIN>) { printf(" \"Perl(%s)\" ", $_=~s/\s+$//r) }')
else
for p in $packages ; do
$dosudo perl -MCPAN -e "CPAN::Shell->notest('install', '$p')"
# perl -MCPAN -mlocal::lib -Mlib::core::only -Mlocal::lib=extlib -e "CPAN::Shell->notest('install', '$p')"
done
fi
for p in $packages ; do
if [ -e '/etc/redhat-release' ]; then
$dosudo dnf install -y "perl($p)" && continue
fi
$dosudo perl -MCPAN -e "CPAN::Shell->notest('install', '$p')"
# perl -MCPAN -mlocal::lib -Mlib::core::only -Mlocal::lib=extlib -e "CPAN::Shell->notest('install', '$p')"
done
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment