Moving common hooks to subdirectory to allow system specific hooks.

This commit is contained in:
Daniel Baumann 2014-08-23 08:20:12 +02:00
parent d735e034eb
commit 33aaf3617f
22 changed files with 1 additions and 1 deletions

View File

@ -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