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

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


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

Linux-PAM: Added ${ASK_FOR_REBUILDS:-y}
---
  security/Linux-PAM/CONFIGURE   | +1/-1     
  security/Linux-PAM/POST_REMOVE | +1/-1     
  2 files changed, 2 insertions(+), 2 deletions(-)

--- a/security/Linux-PAM/CONFIGURE
+++ b/security/Linux-PAM/CONFIGURE
@@ -4,5 +4,5 @@ if ! module_installed $MODULE; then
            "the first time then all installed or held pam aware"  \
            "MODULEs should be re-lin for them to use Linux-PAM"   \
            "to authenticate.${DEFAULT_COLOR}"
-  mquery RElin_PAM_AWARE "Re-lin all Linux-PAM aware MODULEs?" y
+  mquery RElin_PAM_AWARE "Re-lin all Linux-PAM aware MODULEs?" ${ASK_FOR_REBUILDS:-y}
 fi
--- a/security/Linux-PAM/POST_REMOVE
+++ b/security/Linux-PAM/POST_REMOVE
@@ -2,7 +2,7 @@ if [ "$UPGRADE" != "on" ] ; then
   message  "${MESSAGE_COLOR}If Linux-PAM is being permanently removed"  \
            "then all pam aware modules must be re-linned for"  \
            "authentication to continue working.${DEFAULT_COLOR}"
-  if query "Re-lin all Linux-PAM aware modules?" y ; then
+  if query "Re-lin all Linux-PAM aware modules?" ${ASK_FOR_REBUILDS:-y} ; then
     find_pam_aware | while read mod; do
       lin -c $mod
     done




More information about the Lunar-commits mailing list