[Lunar-commits] <lunar> update_depends ask the user if depends changed to optional_depends

Peter de Ridder peter at lunar-linux.org
Sun Sep 2 20:59:16 CEST 2012


commit 223dd44a47482cb635305d8c45b2478b3980b313
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Sun, 05 Aug 2012 13:18:38 -0700
URL: https://github.com/lunar-linux/lunar/commit/223dd44a47482cb635305d8c45b2478b3980b313

update_depends ask the user if depends changed to optional_depends
---
  libs/depends.lunar                                           +1/-1     
  1 files changed, 1 insertions (+), 1 deletions (-)

--- a/libs/depends.lunar
+++ b/libs/depends.lunar
@@ -467,7 +467,7 @@ update_module_depends()
     debug_msg "  optional_depends ($@)"
     DEP=$(NEVER_ASK=1 DEPS_ONLY= unalias $1)
     # check for the current depend selection
-    if grep -q "^$MODULE:$DEP:on:" "$DEPENDS_STATUS_BACKUP" ; then
+    if grep -q "^$MODULE:$DEP:on:optional:" "$DEPENDS_STATUS_BACKUP" ; then
       echo "$MODULE:$DEP:on:optional:$2:$3"
     elif grep -q "^$MODULE:$DEP:off:" "$DEPENDS_STATUS_BACKUP" ; then
       echo "$MODULE:$DEP:off:optional:$2:$3"




More information about the Lunar-commits mailing list