From: Oyvind Repvik Date: Fri, 5 Aug 2005 01:38:36 +0000 (+0000) Subject: Add update-alternatives in pkg_postrm too X-Git-Tag: Release-2010-05/1~9453^2~3990 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a27b492faffa3c9bc088b7b6ece6b245f335a93;p=openembedded.git Add update-alternatives in pkg_postrm too --- diff --git a/packages/openssh/openssh_4.0p1.bb b/packages/openssh/openssh_4.0p1.bb index 47225eb532..2146813f83 100644 --- a/packages/openssh/openssh_4.0p1.bb +++ b/packages/openssh/openssh_4.0p1.bb @@ -11,7 +11,7 @@ used to provide applications with a secure communication channel." HOMEPAGE = "http://www.openssh.org/" LICENSE = "BSD" MAINTAINER = "Bruno Randolf " -PR = "r4" +PR = "r5" SRC_URI = "ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-${PV}.tar.gz \ file://configure.patch;patch=1 \ @@ -79,6 +79,14 @@ pkg_postinst_openssh-ssh() { update-alternatives --install ${bindir}/ssh ssh ssh.${PN} 90 } +pkg_postrm_openssh-ssh() { + update-alternatives --remove ${bindir}/ssh ssh.${PN} +} + +pkg_postrm_openssh-scp() { + update-alternatives --remove ${bindir}/scp scp.${PN} +} + pkg_postrm_openssh-sshd() { if test "x$D" != "x"; then exit 1