apply update-alternatives patch from Bruno Randolf
authorPhil Blundell <philb@gnu.org>
Fri, 30 Jul 2004 22:05:48 +0000 (22:05 +0000)
committerPhil Blundell <philb@gnu.org>
Fri, 30 Jul 2004 22:05:48 +0000 (22:05 +0000)
BKrev: 410ac63ca8vXd4yaGCgz80Eq1jRNHw

bash/bash_2.05b.oe

index 4a47ee7..8e7561b 100644 (file)
@@ -1,5 +1,6 @@
 DEPENDS = "ncurses"
 DESCRIPTION = "An sh-compatible command language interpreter."
+PR = "r1"
 
 SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
            file://bashbug-editor.patch;patch=1;pnum=0 \
@@ -33,7 +34,11 @@ SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
            file://autofoo.patch;patch=1 \
            file://gcc34.patch;patch=1"
 
-inherit autotools
+inherit autotools update-alternatives
+
+PROVIDES = "virtual/sh"
+ALTERNATIVE_NAME = "sh"
+ALTERNATIVE_PATH = "${bindir}/bash"
 
 bindir = "/bin"
 sbindir = "/sbin"