[oe-commits] : lrzsz: straighten out alternatives, patch from martyn.welch at gefanuc.com
OE GIT Trial
gittrial at amethyst.openembedded.net
Sat Aug 2 09:16:16 UTC 2008
Module: OE.dev
Branch: master
Commit: 850027ae5e55eeb1d39ff9e8f3205f022769327f
URL: http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=850027ae5e55eeb1d39ff9e8f3205f022769327f
Author: <pb at openembedded.org>
Date: Sat Aug 2 08:53:25 2008 +0000
lrzsz: straighten out alternatives, patch from martyn.welch at gefanuc.com
---
packages/lrzsz/lrzsz_0.12.20.bb | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/packages/lrzsz/lrzsz_0.12.20.bb b/packages/lrzsz/lrzsz_0.12.20.bb
index 0a194f9..b44945e 100644
--- a/packages/lrzsz/lrzsz_0.12.20.bb
+++ b/packages/lrzsz/lrzsz_0.12.20.bb
@@ -3,7 +3,7 @@ SECTION = "console/network"
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 @@ do_install() {
}
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
}
\ No newline at end of file
More information about the Openembedded-commits
mailing list