Skip to content

Commit

Permalink
Held modules are never expired.
Browse files Browse the repository at this point in the history
  • Loading branch information
cavalier38 committed Jun 5, 2013
1 parent 2fc136a commit 5c19084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/modules.lunar
Expand Up @@ -686,7 +686,7 @@ module_is_expired() {
if [ "$MODULE" == moonbase ] ; then
return 255
fi
LINE=$(awk -F: -v mod=$MODULE '$1==mod && $3 ~ /(^|\+)installed(\+|$)/ {print "IDATE="$2" IVERSION="$4}' "$MODULE_STATUS")
LINE=$(awk -F: -v mod=$MODULE '$1==mod && $3 ~ /(^|\+)installed(\+|$)/ && $3 !~ /(^|\+)held(\+|$)/ {print "IDATE="$2" IVERSION="$4}' "$MODULE_STATUS")
if [ -n "$LINE" ] ; then
eval $LINE
if run_details $MODULE &> /dev/null ; then
Expand Down

0 comments on commit 5c19084

Please sign in to comment.