Permalink
Browse files

Python: Added ${ASK_FOR_REBUILDS:-y}

  • Loading branch information...
1 parent fa6583c commit aea7a673e5b3bd964b09ac2162c767f11580c79c @cavalier38 cavalier38 committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit aea7a67

Please sign in to comment.