Explorar el Código

Be more informative about saturnin__runhook()

Alois Mahdal hace 7 años
padre
commit
3b0b91d3b5
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4
    1
      src/saturnin.sh.skel

+ 4
- 1
src/saturnin.sh.skel Ver fichero

310
 
310
 
311
 saturnin__runhook() {
311
 saturnin__runhook() {
312
     #
312
     #
313
-    # Run custom hook
313
+    # Run custom hook named $1 from respective configuration section
314
+    #
315
+    # Will load joined multi-line key "hook.$SATURNIN_SUBCOMMAND.$1",
316
+    # and execute it as Bash code.
314
     #
317
     #
315
     local hname="$1"
318
     local hname="$1"
316
     local hook_code
319
     local hook_code