summaryrefslogtreecommitdiff
path: root/metadata/install-qa-check.d/08gentoo-paths
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-18 03:34:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-18 03:34:10 +0100
commite8766a573860a86ab2b00122250ba4d5754f89a1 (patch)
treea9214b2c08d4716553a4cd12b23eeec9afded075 /metadata/install-qa-check.d/08gentoo-paths
parent19e23b194d10e420ec050c4d8a6253aad17694b1 (diff)
gentoo auto-resync : 18:08:2023 - 03:34:10
Diffstat (limited to 'metadata/install-qa-check.d/08gentoo-paths')
-rw-r--r--metadata/install-qa-check.d/08gentoo-paths6
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