]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- rel 2; fix COLUMNS/LINES on some terminals (like ipmi sol) auto/th/rc-scripts-0_4_2_3-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 16 Jul 2009 17:09:09 +0000 (17:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts-lc.patch -> 1.1
    rc-scripts.spec -> 1.305

rc-scripts-lc.patch [new file with mode: 0644]
rc-scripts.spec

diff --git a/rc-scripts-lc.patch b/rc-scripts-lc.patch
new file mode 100644 (file)
index 0000000..f6a9b9d
--- /dev/null
@@ -0,0 +1,14 @@
+Index: rc.d/init.d/functions
+===================================================================
+--- rc.d/init.d/functions      (wersja 10418)
++++ rc.d/init.d/functions      (kopia robocza)
+@@ -25,7 +25,8 @@
+       _setterm
+       unset _setterm
+ fi
+-[ -z "$COLUMNS" ] && COLUMNS=80
++[ -z "$LINES" -o "$LINES" -le 0 ] && COLUMNS=40
++[ -z "$COLUMNS" -o "$COLUMNS" -le 0 ] && COLUMNS=80
+ export LINES COLUMNS
+ INIT_COL=$((COLUMNS - 13))
index 3001a43df391543094fa372d2432aad4b5e9ca14..60c6bc4d4fa1d0954c1cbc1442eaef21ae9f1b1b 100644 (file)
@@ -9,12 +9,13 @@ Summary(pl.UTF-8):    inittab i skrypty startowe z katalogu /etc/rc.d
 Summary(tr.UTF-8):     inittab ve /etc/rc.d dosyaları
 Name:          rc-scripts
 Version:       0.4.2.3
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Base
 Source0:       ftp://distfiles.pld-linux.org/src/%{name}-%{version}.tar.gz
 # Source0-md5: 609b673eefa6c29906cc15b7a6b90a9c
 Patch0:                dropcaps.patch
+Patch1:                %{name}-lc.patch
 URL:           http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -104,6 +105,7 @@ programcıklar içerir.
 %prep
 %setup -q
 %patch0 -p0
+%patch1 -p0
 
 %build
 %{__aclocal}
This page took 0.093289 seconds and 4 git commands to generate.