Browse Source

Use modules in install dir

Ernesto Nicolás Carrea 5 years ago
parent
commit
e302d3d1b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/module/list.inc

+ 1 - 1
bin/module/list.inc

@@ -4,7 +4,7 @@ hestia_module_list() {
     source $HESTIA/bin/module/func.inc
     source $HESTIA/bin/module/func.inc
 
 
     printf "%-16s %-12s %-4s %s\n" "Module" "Provides" "Inst" "Description"
     printf "%-16s %-12s %-4s %s\n" "Module" "Provides" "Inst" "Description"
-    for hmd in $HESTIA/data/modules/*.hmd; do
+    for hmd in $HESTIA_INSTALL_DIR/../modules/*.hmd; do
         local mod_name=$(osal_kv_read $hmd 'name')
         local mod_name=$(osal_kv_read $hmd 'name')
         local mod_provides=$(osal_kv_read $hmd 'provides')
         local mod_provides=$(osal_kv_read $hmd 'provides')
         local mod_descr=$(osal_kv_read $hmd 'description')
         local mod_descr=$(osal_kv_read $hmd 'description')