mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 13:55:17 +00:00
7 lines
247 B
Text
7 lines
247 B
Text
/bin/rm hook1
|
|
grep -r call_hooks --exclude-dir=.git --exclude-dir=cache --exclude-dir=logs --exclude-dir=store * > hook1
|
|
awk -F\' '{ print $2};' < hook1 > hook2
|
|
sed -i '/^\s*$/d' hook2
|
|
sort < hook2 | uniq > hooklist.mc
|
|
/bin/rm hook1
|
|
/bin/rm hook2
|