* [gentoo-commits] gentoo-x86 commit in app-misc/mc/files: mc-4.8.4-Ticket-2851-fixes-of-ext.d-scripts.patch mc-4.8.2-fix-existing.patch mc-4.8.0-fix-nls.patch mc-4.8.2-missing-do_panel_cd_stub_env.c mc-4.8.2-mcedit-without-file-param-fix.patch mc-4.8.0-fix-ftp-spaces.patch
@ 2012-07-21 15:59 Sergei Trofimovich (slyfox)
0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2012-07-21 15:59 UTC (permalink / raw
To: gentoo-commits
slyfox 12/07/21 15:59:49
Added: mc-4.8.4-Ticket-2851-fixes-of-ext.d-scripts.patch
Removed: mc-4.8.2-fix-existing.patch mc-4.8.0-fix-nls.patch
mc-4.8.2-missing-do_panel_cd_stub_env.c
mc-4.8.2-mcedit-without-file-param-fix.patch
mc-4.8.0-fix-ftp-spaces.patch
Log:
Added USE=spell to use aspell checker from live ebuild. Fix to view /var/log/*.1.gz files (https://www.midnight-commander.org/ticket/2852). Cleanup old unstable versions.
(Portage version: 2.2.0_alpha118_p1/cvs/Linux x86_64)
Revision Changes Path
1.1 app-misc/mc/files/mc-4.8.4-Ticket-2851-fixes-of-ext.d-scripts.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/files/mc-4.8.4-Ticket-2851-fixes-of-ext.d-scripts.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/mc/files/mc-4.8.4-Ticket-2851-fixes-of-ext.d-scripts.patch?rev=1.1&content-type=text/plain
Index: mc-4.8.4-Ticket-2851-fixes-of-ext.d-scripts.patch
===================================================================
From d099c36a98110f201195392a8de0aaf289110107 Mon Sep 17 00:00:00 2001
From: Andrew Borodin <aborodin@vmail.ru>
Date: Sat, 21 Jul 2012 15:21:54 +0400
Subject: [PATCH] Ticket #2851: fixes of ext.d scripts:
* cleanup of undefined variables;
* use proper variables instead of udefine ones.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
---
misc/ext.d/misc.sh.in | 1 -
misc/ext.d/package.sh | 3 +--
misc/ext.d/text.sh.in | 9 ++++-----
3 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/misc/ext.d/misc.sh.in b/misc/ext.d/misc.sh.in
index 53b4821..ea80ced 100644
--- a/misc/ext.d/misc.sh.in
+++ b/misc/ext.d/misc.sh.in
@@ -8,7 +8,6 @@ filetype=$2
do_view_action() {
filetype=$1
- filename=$2
case "${filetype}" in
iso9660)
diff --git a/misc/ext.d/package.sh b/misc/ext.d/package.sh
index 0369d9b..0a28cb7 100644
--- a/misc/ext.d/package.sh
+++ b/misc/ext.d/package.sh
@@ -9,7 +9,6 @@ filetype=$2
do_view_action() {
filetype=$1
- filename=$2
case "${filetype}" in
trpm)
@@ -24,7 +23,7 @@ do_view_action() {
$RPM -qivlp --scripts "${MC_EXT_FILENAME}"
;;
deb)
- dpkg-deb -I "${filename}" && echo && dpkg-deb -c "${MC_EXT_FILENAME}"
+ dpkg-deb -I "${MC_EXT_FILENAME}" && echo && dpkg-deb -c "${MC_EXT_FILENAME}"
;;
debd)
dpkg -s `echo "${MC_EXT_BASENAME}" | sed 's/\([0-9a-z.-]*\).*/\1/'`
diff --git a/misc/ext.d/text.sh.in b/misc/ext.d/text.sh.in
index 176cf09..5efd04b 100644
--- a/misc/ext.d/text.sh.in
+++ b/misc/ext.d/text.sh.in
@@ -33,7 +33,6 @@ get_unpacker() {
do_view_action() {
filetype=$1
- pager=$2
unpacker=`get_unpacker ${filetype}`
@@ -60,11 +59,11 @@ do_view_action() {
man.gz|man.bz|man.bz2|man.lzma|man.xz)
case "${MC_EXT_CURRENTDIR}"/"${MC_EXT_FILENAME}" in
*/log/*|*/logs/*)
- ${unpacker} %f
+ ${unpacker} "${MC_EXT_FILENAME}"
;;
*)
- ${unpacker} ${filename} | nroff @MAN_FLAGS@ @MANDOC@
- ;;
+ ${unpacker} "${MC_EXT_FILENAME}" | nroff @MAN_FLAGS@ @MANDOC@
+ ;;
esac
;;
*)
@@ -122,7 +121,7 @@ do_open_action() {
case "${action}" in
view)
- do_view_action "${filetype}" "${pager}"
+ do_view_action "${filetype}"
;;
open)
xdg-open "${MC_EXT_FILENAME}" 2>/dev/null || \
--
1.7.8.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-21 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-21 15:59 [gentoo-commits] gentoo-x86 commit in app-misc/mc/files: mc-4.8.4-Ticket-2851-fixes-of-ext.d-scripts.patch mc-4.8.2-fix-existing.patch mc-4.8.0-fix-nls.patch mc-4.8.2-missing-do_panel_cd_stub_env.c mc-4.8.2-mcedit-without-file-param-fix.patch mc-4.8.0-fix-ftp-spaces.patch Sergei Trofimovich (slyfox)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox