mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-29 18:33:09 +00:00
add tsflags=nodocs to dnf.conf as well as yum.conf
This commit is contained in:
parent
f2c71083fe
commit
6ea47a9570
@ -51,10 +51,17 @@ userdel -r none
|
|||||||
LANG="en_US"
|
LANG="en_US"
|
||||||
echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf
|
echo "%_install_lang $LANG" > /etc/rpm/macros.image-language-conf
|
||||||
|
|
||||||
|
# Carry these configs for both dnf and yum for users who are calling
|
||||||
|
# yum-deprecated directly. This will keep the experience between both
|
||||||
|
# consistent
|
||||||
awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
|
awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
|
||||||
< /etc/yum.conf > /etc/yum.conf.new
|
< /etc/yum.conf > /etc/yum.conf.new
|
||||||
mv /etc/yum.conf.new /etc/yum.conf
|
mv /etc/yum.conf.new /etc/yum.conf
|
||||||
|
|
||||||
|
awk '(NF==0&&!done){print "override_install_langs='$LANG'\ntsflags=nodocs";done=1}{print}' \
|
||||||
|
< /etc/dnf/dnf.conf > /etc/dnf/dnf.conf.new
|
||||||
|
mv /etc/dnf/dnf.conf.new /etc/dnf/dnf.conf
|
||||||
|
|
||||||
echo "Import RPM GPG key"
|
echo "Import RPM GPG key"
|
||||||
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
releasever=$(rpm -q --qf '%{version}\n' fedora-release)
|
||||||
basearch=$(uname -i)
|
basearch=$(uname -i)
|
||||||
|
Loading…
Reference in New Issue
Block a user