mirror of
https://github.com/gwebu-team/profile.d.git
synced 2025-12-09 12:05:46 +00:00
Fix ip color on EL 7.
iproute2 on EL 7 (ip utility, iproute2-ss170501) does not support --color=auto, only -c[olor]. Signed-off-by: Doncho N. Gunchev <dgunchev@gmail.com>
This commit is contained in:
parent
9026bf704e
commit
3f8ffe86c9
2 changed files with 8 additions and 2 deletions
|
|
@ -11,3 +11,6 @@ change="* $(date +'%a %b %d %Y') $(git log -1 --format='%aN <%aE>') - ${rpm_ver}
|
|||
|
||||
awk -v change="${change}" '/^%changelog/ {print; print change; next} 1' gwebu-profile.spec.in \
|
||||
> gwebu-profile.spec.tmp && mv gwebu-profile.spec.tmp gwebu-profile.spec.in
|
||||
|
||||
sed -i "s/Version: .*/Version: ${rpm_ver}/" gwebu-profile.spec.in
|
||||
sed -i "s/Release: .*/Release: ${rpm_numeric_rev}/" gwebu-profile.spec.in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue