/usr/share/gtksourceview-3.0/styles/check-style.sh is in libgtksourceview-3.0-common 3.4.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #!/bin/sh
# "./check-style.sh files..." will validate files given on command line.
# "./check-style.sh" without arguments will validate all style files
# in the source directory
files=""
if [ $1 ]; then
files=$@
else
if [ "$srcdir" ]; then
cd $srcdir
fi
files=*.xml
fi
for file in $files; do
xmllint --relaxng styles.rng --noout $file || exit 1
done
|