summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authormikem <mikem>2004-05-07 17:26:25 +0000
committermikem <mikem>2004-05-07 17:26:25 +0000
commit94a08d6fb48aaa99ea11da85ef2272f4851d839c (patch)
tree9e243bc4ea17635ca3eaf64c0680b4e1fa7aec9a /packages.py
parente8ef4dba3c9c0b83148676f83218ade89dd59cfe (diff)
downloadanaconda-94a08d6fb48aaa99ea11da85ef2272f4851d839c.tar.gz
anaconda-94a08d6fb48aaa99ea11da85ef2272f4851d839c.tar.xz
anaconda-94a08d6fb48aaa99ea11da85ef2272f4851d839c.zip
allow excludedocs installs via ks or cmdline option
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages.py b/packages.py
index 58a07aa87..b6af4d243 100644
--- a/packages.py
+++ b/packages.py
@@ -787,6 +787,9 @@ def doInstall(method, id, intf, instPath):
how = "i"
rpm.addMacro("__dbi_htconfig", "hash nofsync %{__dbi_other} %{__dbi_perms}")
+ if id.excludeDocs:
+ rpm.addMacro("_excludedocs", "1")
+
l = []
for p in id.grpset.hdrlist.values():