forked from mirrored-repos/manjaro-tools
[util-iso-image] fix codename with space
This commit is contained in:
parent
488315a4ed
commit
18b975da7f
1 changed files with 2 additions and 2 deletions
|
@ -102,8 +102,8 @@ configure_mhwd_drivers(){
|
||||||
configure_lsb(){
|
configure_lsb(){
|
||||||
if [ -e $1/etc/lsb-release ] ; then
|
if [ -e $1/etc/lsb-release ] ; then
|
||||||
msg2 "Configuring lsb-release"
|
msg2 "Configuring lsb-release"
|
||||||
sed -i -e "s/^.*DISTRIB_RELEASE.*/DISTRIB_RELEASE=${dist_release}/" $1/etc/lsb-release
|
sed -i -e "s/^.*DISTRIB_RELEASE.*/DISTRIB_RELEASE=\"${dist_release}\"/" $1/etc/lsb-release
|
||||||
sed -i -e "s/^.*DISTRIB_CODENAME.*/DISTRIB_CODENAME=${dist_codename}/" $1/etc/lsb-release
|
sed -i -e "s/^.*DISTRIB_CODENAME.*/DISTRIB_CODENAME=\"${dist_codename}\"/" $1/etc/lsb-release
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue