]> git.pld-linux.org Git - packages/bash.git/commitdiff
- fix release (5), bash-2_04-5
authorkloczek <kloczek@pld-linux.org>
Wed, 21 Jun 2000 20:04:39 +0000 (20:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added etcskel to Obsoletes,
- cosmetics in %post/%preun.

Changed files:
    bash.spec -> 1.53

bash.spec

index 95b995c62e5e26c4443f21970dfb526266951293..c30721e80ae8c25e04e0b38f320418c92732c775 100644 (file)
--- a/bash.spec
+++ b/bash.spec
@@ -5,7 +5,7 @@ Summary(pl):    GNU Bourne Again Shell (bash)
 Summary(tr):   GNU Bourne Again Shell (bash)
 Name:          bash
 Version:       2.04
-Release:       6
+Release:       5
 Group:         Shells
 Group(pl):     Pow³oki
 License:       GPL
@@ -31,6 +31,7 @@ PreReq:               grep
 PreReq:                fileutils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     bash2
+Obsoletes:     etcskel
 Obsoletes:     bash2-doc
 
 %description
@@ -201,13 +202,13 @@ else
 fi
 
 %preun
-if [ $1 = 0 ]; then
+if [ "$1" = "0" ]; then
        grep -v /bin/bash /etc/shells | grep -v /bin/rbash > /etc/shells.new
        mv -f /etc/shells.new /etc/shells
 fi
 
 %preun static
-if [ $1 = 0 ]; then
+if [ "$1" = "0" ]; then
        grep -v /bin/bash.static /etc/shells > /etc/shells.new
        mv -f /etc/shells.new /etc/shells
 fi
This page took 0.042746 seconds and 4 git commands to generate.