]> git.pld-linux.org Git - packages/ash.git/commitdiff
- argh, more fixes in preun scripts ash-0_4_0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 28 Apr 2001 15:03:09 +0000 (15:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ash.spec -> 1.38

ash.spec

index a3774b51e3f78f3ff0af6023301e4d85919a79ef..92d44209e8a891a47ac2d97f99c4656e4002ce60 100644 (file)
--- a/ash.spec
+++ b/ash.spec
@@ -205,13 +205,13 @@ else
 fi
 
 %preun
-if [ "$0" = 0 ]; then
+if [ "$1" = 0 ]; then
         grep -v '^%{_bindir}/ash$' /etc/shells | grep -v '^%{_bindir}/bsh$' > /etc/shells.new
         mv -f /etc/shells.new /etc/shells
 fi
 
 %preun static
-if [ "$0" = 0 ]; then
+if [ "$1" = 0 ]; then
         grep -v '^%{_bindir}/ash\.static$' /etc/shells > /etc/shells.new
         mv -f /etc/shells.new /etc/shells
 fi
This page took 0.116228 seconds and 4 git commands to generate.