Do not need to fork off Wikis for a Wiki repo
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#
|
||||
scriptlist="$(find `dirname "$0"`/scripts.d -type f)"
|
||||
if [ -f .wiki-repo ]; then
|
||||
scriptlist="$(echo "$scriptlist" | grep -vE 'Makefile|PKGBUILD|pytest')"
|
||||
scriptlist="$(echo "$scriptlist" | grep -vE 'Makefile|PKGBUILD|pytest|gitignore')"
|
||||
fi
|
||||
|
||||
for script in $scriptlist; do
|
||||
|
||||
@@ -48,9 +48,3 @@ for file in $files; do
|
||||
fi
|
||||
|
||||
done
|
||||
|
||||
# Wiki documentation is procedurally generated in its own repo.
|
||||
if ! grep -E ^wiki/ .gitignore 1>/dev/null; then
|
||||
echo The wiki folder needs to be ignored.
|
||||
exit 4
|
||||
fi
|
||||
|
||||
7
Hooks/scripts.d/check-AniNIX-gitignore
Executable file
7
Hooks/scripts.d/check-AniNIX-gitignore
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Wiki documentation is procedurally generated in its own repo.
|
||||
if ! grep -E ^wiki/ .gitignore 1>/dev/null; then
|
||||
echo The wiki folder needs to be ignored.
|
||||
exit 4
|
||||
fi
|
||||
Reference in New Issue
Block a user