Skip to content

Commit

Permalink
Only print installed modules in list_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cavalier38 committed May 30, 2013
1 parent b641d8a commit 37a6a07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/modules.lunar
Expand Up @@ -82,7 +82,7 @@ list_moonbase() {
# purpose : return a list of installed (or held) modules
list_installed() {
debug_msg "list_installed ($@)"
sed "s/:[[:digit:]]*:\\([^:]\\++\\)\\?\\(installed\\|held\\)\\(+[^:]\\+\\)\\?:.*$//" "$MODULE_STATUS"
sed -n "s/:[[:digit:]]*:\\([^:]\\++\\)\\?\\(installed\\|held\\)\\(+[^:]\\+\\)\\?:.*$//p" "$MODULE_STATUS"
}


Expand Down

0 comments on commit 37a6a07

Please sign in to comment.