- added etcskel to Obsoletes,
- cosmetics in %post/%preun.
Changed files:
bash.spec -> 1.53
Summary(tr): GNU Bourne Again Shell (bash)
Name: bash
Version: 2.04
-Release: 6
+Release: 5
Group: Shells
Group(pl): Pow³oki
License: GPL
PreReq: fileutils
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Obsoletes: bash2
+Obsoletes: etcskel
Obsoletes: bash2-doc
%description
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