]> git.ipfire.org Git - pakfire.git/blob - tools/quality-agent.d/001-include-files
34257e6903a9ac79bba6c359717dcd95d15350c0
[pakfire.git] / tools / quality-agent.d / 001-include-files
1 #!/bin/bash
2
3 . $(dirname ${0})/qa-include
4
5 DESC="Include files have to belong to the root user. \
6 This script will fix this automatically."
7
8 check() {
9 if [ ! -d "${BUILDROOT}/usr/include" ]; then
10 return 0
11 fi
12
13 chown -R root:root ${BUILDROOT}/usr/include
14 }
15
16 run