[oe-commits] org.oe.dev lrzsz: straighten out alternatives, patch from martyn.welch at gefanuc.com

pb commit oe at amethyst.openembedded.net
Mon Sep 1 17:47:16 UTC 2008


lrzsz: straighten out alternatives, patch from martyn.welch at gefanuc.com

Author: pb at openembedded.org
Branch: org.openembedded.dev
Revision: f7aee16bb45052647fd1a8b8b1d5617ec91b95a9
ViewMTN: http://monotone.openembedded.org/revision/info/f7aee16bb45052647fd1a8b8b1d5617ec91b95a9
Files:
1
packages/lrzsz/lrzsz_0.12.20.bb
Diffs:

#
# mt diff -r63745642598b1a8a4f6303f8368d73fb578b733b -rf7aee16bb45052647fd1a8b8b1d5617ec91b95a9
#
#
#
# patch "packages/lrzsz/lrzsz_0.12.20.bb"
#  from [4c771d259843948276398299a1a208d819a6a46b]
#    to [11d3eb1494638e5f3c2f31b24709140d2c564353]
#
============================================================
--- packages/lrzsz/lrzsz_0.12.20.bb	4c771d259843948276398299a1a208d819a6a46b
+++ packages/lrzsz/lrzsz_0.12.20.bb	11d3eb1494638e5f3c2f31b24709140d2c564353
@@ -3,7 +3,7 @@ DEPENDS = ""
 PRIORITY = "standard"
 DESCRIPTION = "Tools for zmodem/xmodem/ymodem file transfer"
 DEPENDS = ""
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \
 	   file://autotools.patch;patch=1 \
@@ -18,13 +18,19 @@ pkg_postinst() {
 }
 
 pkg_postinst() {
-	for util in rz rx rb sz sx sb; do
+	for util in rz rx rb; do
 		update-alternatives --install ${bindir}/$util $util lrz 100
 	done
+	for util in sz sx sb; do
+		update-alternatives --install ${bindir}/$util $util lsz 100
+	done
 }
 
 pkg_postrm() {
-	for util in rz rx rb sz sx sb; do
+	for util in rz rx rb; do
 		update-alternatives --remove $util ${bindir}/lrz
 	done
+	for util in sz sx sb; do
+		update-alternatives --remove $util ${bindir}/lsz
+	done
 }






More information about the Openembedded-commits mailing list