feat(bash): support for derivated distro + refactor conf (#3259)
* feat(bash): support for derivated distro * refactor: refactoring for dist files
This commit is contained in:
parent
a37ea1b60e
commit
ad6ad094de
11 changed files with 39 additions and 9 deletions
|
|
@ -1,7 +1,7 @@
|
|||
function registerHooks() { hwc_event_register_hooks "$@"; }
|
||||
function runHooks() { hwc_event_run_hooks "$@"; }
|
||||
|
||||
source "$AC_PATH_CONF/config.sh.dist" # "hack" to avoid missing conf variables
|
||||
source "$AC_PATH_CONF/dist/config.sh" # include dist to avoid missing conf variables
|
||||
|
||||
if [ -f "$AC_PATH_CONF/config.sh" ]; then
|
||||
source "$AC_PATH_CONF/config.sh" # should overwrite previous
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue