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

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


commit 82ef96f4966b27e0cd39e160079d1ea10751c5d8
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Wed, 27 Mar 2013 13:14:15 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/82ef96f4966b27e0cd39e160079d1ea10751c5d8

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

--- a/python/Python-3/POST_INSTALL
+++ b/python/Python-3/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 3.0 to 3.1 Minor version numbers,"
 message "like 3.3.0, to 3.3.1 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/python3*/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