aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/mtree-to-plist.awk10
1 files changed, 3 insertions, 7 deletions
diff --git a/release/scripts/mtree-to-plist.awk b/release/scripts/mtree-to-plist.awk
index 51dea0df8629..a499b94f5f3c 100644
--- a/release/scripts/mtree-to-plist.awk
+++ b/release/scripts/mtree-to-plist.awk
@@ -39,7 +39,7 @@
gsub(/package=/, "", pkgname)
} else if (a[i] == "config") {
type="config"
- } else if (a[i] == "development" || a[i] == "profile" || a[i] == "debug") {
+ } else if (a[i] == "development" || a[i] == "profile" || a[i] == "debug" || a[i] == "docs") {
pkgend=a[i]
} else {
if (ext != "")
@@ -49,14 +49,10 @@
}
}
if (ext != "") {
- if (pkgname == "runtime") {
- pkgname=ext
- } else {
- pkgname=pkgname"-"ext
- }
+ pkgname=pkgname"-"ext
}
if (pkgend != "") {
- if (pkgname == "runtime") {
+ if (pkgend == "docs") {
pkgname=pkgend
} else {
pkgname=pkgname"-"pkgend