Moving common hooks to subdirectory to allow system specific hooks.
This commit is contained in:
parent
d735e034eb
commit
33aaf3617f
|
@ -133,7 +133,7 @@ def main():
|
|||
# Configuring default hooks
|
||||
os.makedirs('config/hooks', exist_ok=True)
|
||||
|
||||
for hook in glob.glob('/usr/share/live/build/hooks/*.hook*'):
|
||||
for hook in glob.glob('/usr/share/live/build/hooks/all/*.hook*'):
|
||||
os.symlink(hook, os.path.join('config/hooks/' + os.path.basename(hook)))
|
||||
|
||||
# Configuring default includes
|
||||
|
|
Loading…
Reference in New Issue