diff options
Diffstat (limited to 'metadata/install-qa-check.d/08gentoo-paths')
-rw-r--r-- | metadata/install-qa-check.d/08gentoo-paths | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/metadata/install-qa-check.d/08gentoo-paths b/metadata/install-qa-check.d/08gentoo-paths index 4d84925d8539..5b8607fd5f96 100644 --- a/metadata/install-qa-check.d/08gentoo-paths +++ b/metadata/install-qa-check.d/08gentoo-paths @@ -53,7 +53,11 @@ gentoo_path_check() { fi done - # 3. check for unexpected /usr/share/doc subdirectories + # 3. check for unexpected subdirectories in bin and sbin + local bin_subdirs=( "${ED%/}"{,/usr}/{bin,sbin}/*/ ) + bad_paths+=( "${bin_subdirs[@]%/}" ) + + # 4. check for unexpected /usr/share/doc subdirectories local doc_dirs=( "${ED%/}"/usr/share/doc/* ) for x in "${doc_dirs[@]##*/}"; do if [[ ${x} != ${PF} ]]; then |