[Lunar-commits] <moonbase-core> perl: Added ${ASK_FOR_REBUILDS:-y}
Peter de Ridder
peter at lunar-linux.org
Wed Mar 27 21:11:27 CET 2013
commit fa6583c97e6dec9d43476dd1ce83bd2f44541a52
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Wed, 27 Mar 2013 13:11:27 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/fa6583c97e6dec9d43476dd1ce83bd2f44541a52
perl: Added ${ASK_FOR_REBUILDS:-y}
---
perl/perl/POST_INSTALL | +1/-1
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/perl/perl/POST_INSTALL
+++ b/perl/perl/POST_INSTALL
@@ -5,7 +5,7 @@ if [ -n "$(get_module_config UPGRADE_PERL_MODULES)" ]; then
message "perl handles modules. They need to be recompiled in order to work."
message "$DEFAULT_COLOR"
OLD_PERL_VERSION=$(get_module_config OLD_PERL_VERSION)
- if query "Do you want lunar to attempt to upgrade your perl modules?" y; then
+ if query "Do you want lunar to attempt to upgrade your perl modules?" ${ASK_FOR_REBUILDS:-y}; then
# preserve CPAN config?
if [ ! -f /usr/lib/perl5/$VERSION/CPAN/Config.pm -a -f /usr/lib/perl5/$OLD_PERL_VERSION/CPAN/Config.pm ] ; then
cp /usr/lib/perl5/$OLD_PERL_VERSION/CPAN/Config.pm /usr/lib/perl5/$VERSION/CPAN/Config.pm
More information about the Lunar-commits
mailing list