auto-import changelog data from kbd-1.06-26.src.rpm
Wed Sep 04 2002 Bill Nottingham <notting@redhat.com> 1.06-26 - don't munge /etc/sysconfig/i18n
This commit is contained in:
parent
ebba90d122
commit
e9f7111cdb
19
kbd.spec
19
kbd.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Tools for configuring the console (keyboard, virtual terminals, etc.)
|
Summary: Tools for configuring the console (keyboard, virtual terminals, etc.)
|
||||||
Name: kbd
|
Name: kbd
|
||||||
Version: 1.06
|
Version: 1.06
|
||||||
Release: 25
|
Release: 26
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source0: ftp://ftp.kernel.org/pub/linux/utils/kbd/kbd-%{version}.tar.bz2
|
Source0: ftp://ftp.kernel.org/pub/linux/utils/kbd/kbd-%{version}.tar.bz2
|
||||||
@ -97,20 +97,6 @@ fi
|
|||||||
|
|
||||||
%triggerpostun -- console-tools
|
%triggerpostun -- console-tools
|
||||||
/sbin/chkconfig --add keytable
|
/sbin/chkconfig --add keytable
|
||||||
# Convert /etc/sysconfig/i18n to a more usable format
|
|
||||||
if [ -e /etc/sysconfig/i18n ]; then
|
|
||||||
TMP=`mktemp /tmp/i18nXXXXXX`
|
|
||||||
source /etc/sysconfig/i18n
|
|
||||||
SYSFONT_NEW=`echo $SYSFONT |sed -e "s/sun//;s/lat0-/lat9-/"`
|
|
||||||
CHARSET=`echo $SYSFONTACM |sed -e "s/iso0/8859-/;s/iso/8859-/"`
|
|
||||||
[ "$CHARSET" = "8859-1" -a "`echo $SYSFONT_NEW | sed -e 's/-.*//'`" = "lat0" ] && CHARSET="8859-15"
|
|
||||||
cat /etc/sysconfig/i18n |sed -e "s/^SYSFONT=.*/# &/g;s/^SYSFONTACM/# SYSFONTACM/g" >$TMP
|
|
||||||
[ -n "$SYSFONT_NEW" ] && echo "SYSFONT=\"$SYSFONT_NEW\"" >>$TMP
|
|
||||||
[ -n "$CHARSET" ] && echo "CHARSET=\"$CHARSET\"" >>$TMP
|
|
||||||
mv -f $TMP /etc/sysconfig/i18n
|
|
||||||
chmod 0644 /etc/sysconfig/i18n
|
|
||||||
rm -f $TMP
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -124,6 +110,9 @@ fi
|
|||||||
%config %{_sysconfdir}/pam.d/*
|
%config %{_sysconfdir}/pam.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 4 2002 Bill Nottingham <notting@redhat.com> 1.06-26
|
||||||
|
- don't munge /etc/sysconfig/i18n
|
||||||
|
|
||||||
* Tue Sep 3 2002 Bill Nottingham <notting@redhat.com> 1.06-25
|
* Tue Sep 3 2002 Bill Nottingham <notting@redhat.com> 1.06-25
|
||||||
- don't run setsysfont in upgrade trigger on console-tools
|
- don't run setsysfont in upgrade trigger on console-tools
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user