[Lunar-commits] <moonbase-core> Python: Added ${ASK_FOR_REBUILDS:-y}

Peter de Ridder peter at lunar-linux.org
Wed Mar 27 21:11:56 CET 2013


commit aea7a673e5b3bd964b09ac2162c767f11580c79c
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Wed, 27 Mar 2013 13:11:56 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/aea7a673e5b3bd964b09ac2162c767f11580c79c

Python: Added ${ASK_FOR_REBUILDS:-y}
---
  python/Python/POST_INSTALL | +1/-1     
  1 file changed, 1 insertion(+), 1 deletion(-)

--- a/python/Python/POST_INSTALL
+++ b/python/Python/POST_INSTALL
@@ -4,7 +4,7 @@ message "handles modules. They may need to be recompiled in order to work, espec
 message "on a major version change like 2.4, to 2.5 or 2.6. Minor version numbers,"
 message "like 2.5.1, to 2.5.2 are usually safe without recompiling.${DEFAULT_COLOR}"
 
-if query "Do you want lunar to attempt to upgrade your Python modules?" y; then
+if query "Do you want lunar to attempt to upgrade your Python modules?" ${ASK_FOR_REBUILDS:-y}; then
         PYTHONMODS="$( lvu from /usr/lib/python2*/site-packages | cut -d: -f1 | uniq | grep -v Python)"
         for PYTHONMOD in $(sort_by_dependency $PYTHONMODS); do
                 lin -c $PYTHONMOD || true




More information about the Lunar-commits mailing list