[arch-commits] CVS update of core/base/bash (PKGBUILD)

Dan McGee dan at archlinux.org
Mon Nov 26 03:37:58 UTC 2007


    Date: Sunday, November 25, 2007 @ 22:37:58
  Author: dan
    Path: /home/cvs-core/core/base/bash

Modified: PKGBUILD (1.49 -> 1.50)

Add provides=('sh') to bash, as scripts may only need sh and not a full-blown bash. Also verbose-ify the sh link.


----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)


Index: core/base/bash/PKGBUILD
diff -u core/base/bash/PKGBUILD:1.49 core/base/bash/PKGBUILD:1.50
--- core/base/bash/PKGBUILD:1.49	Thu Nov 15 18:53:12 2007
+++ core/base/bash/PKGBUILD	Sun Nov 25 22:37:58 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.49 2007/11/15 23:53:12 daniel Exp $
+# $Id: PKGBUILD,v 1.50 2007/11/26 03:37:58 dan Exp $
 # Maintainer: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=bash
@@ -12,6 +12,7 @@
 groups=('base')
 backup=(etc/profile etc/skel/.bashrc etc/skel/.bash_profile)
 depends=('readline>=5.2')
+provides=('sh')
 source=(ftp://ftp.cwru.edu/pub/bash/bash-3.2.tar.gz
         bash-noinfo.patch
 	profile
@@ -66,7 +67,10 @@
   rm bin/bashbug usr/man/man1/bashbug.1
 
   install -v -D -m644 ${startdir}/src/profile etc/profile
-  ln -sf bash bin/sh
+
+  # for now, bash is our default /bin/sh
+  cd ${startdir}/pkg/bin
+  ln -s bash sh
 
   mkdir -p $startdir/pkg/etc/skel/
   install -D -m644 $startdir/src/bashrc $startdir/pkg/etc/skel/.bashrc




More information about the arch-commits mailing list