Package: libapache2-mod-php5
Severity: normal

Hi,

 When purging libapache2-mod-php5 package, it leaves /etc/php5/apache2/.start
 file as below. It's noisy with piuparts check.

> 9m28.1s DEBUG: No broken symlinks as far as we can find.
> 9m30.6s ERROR: FAIL: Package purging left files on system:
>   /etc/php5    owned by: libapache2-mod-php5, php5-common
>   /etc/php5/apache2    owned by: libapache2-mod-php5
>   /etc/php5/apache2/.start     not owned


 It should be removed.


diff -u php5-5.3.3/debian/php5-sapi.postrm php5-5.3.3/debian/php5-sapi.postrm
--- php5-5.3.3/debian/php5-sapi.postrm
+++ php5-5.3.3/debian/php5-sapi.postrm
@@ -3,6 +3,7 @@
 set -e
 
 phpini=/etc/php5/@sapi@/php.ini
+startfile=/etc/php5/@sapi@/.start
 
 case "$1" in
 purge)
@@ -10,6 +11,10 @@
                ucf --purge $phpini
        fi
        rm -f $phpini
+
+       if [ @sapi@ = apache2 -a -f $startfile ]; then
+               rm $startfile
+       fi
        ;;
 esac
 

-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to