Fixed postun parameter check
authorScott Cantor <cantor.2@osu.edu>
Sat, 24 Sep 2005 04:16:55 +0000 (04:16 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sat, 24 Sep 2005 04:16:55 +0000 (04:16 +0000)
shibboleth.spec.in

index 6ae1c06..7cb964b 100644 (file)
@@ -109,7 +109,7 @@ fi
 /sbin/ldconfig
 
 # delete the shibboleth apache configuration if we're being removed
-[ "$0" = 0 ] || exit 0
+[ "$1" = 0 ] || exit 0
 [ -f %{_sysconfdir}/httpd/conf.d/shib.conf ] && \
     rm -f %{_sysconfdir}/httpd/conf.d/shib.conf