]> git.pld-linux.org Git - packages/apache1-mod_mp3.git/commitdiff
- restart apache in %postun rather in %preun as the config file, loading module
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 16 Feb 2005 17:52:15 +0000 (17:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  is still there and module will be loaded after package is uninstalled, which
  later causes missing configuration file errors.

Changed files:
    apache1-mod_mp3.spec -> 1.34

apache1-mod_mp3.spec

index fc75ca3508041ce8c599c82521c656130a4c4e58..9a53cae413e855ca03a2d6ff1ae47c077961d6ff 100644 (file)
@@ -6,7 +6,7 @@ Summary:        MP3 Apache module
 Summary(pl):   Modu³ MP3 do Apache
 Name:          apache1-mod_%{mod_name}
 Version:       0.40
 Summary(pl):   Modu³ MP3 do Apache
 Name:          apache1-mod_%{mod_name}
 Version:       0.40
-Release:       2.2
+Release:       2.3
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.tangent.org/download/mod_%{mod_name}-%{version}.tar.gz
 License:       BSD
 Group:         Networking/Daemons
 Source0:       http://www.tangent.org/download/mod_%{mod_name}-%{version}.tar.gz
@@ -67,7 +67,7 @@ if [ -f /var/lock/subsys/apache ]; then
        /etc/rc.d/init.d/apache restart 1>&2
 fi
 
        /etc/rc.d/init.d/apache restart 1>&2
 fi
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
 if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/apache ]; then
                /etc/rc.d/init.d/apache restart 1>&2
This page took 0.056715 seconds and 4 git commands to generate.