Op dinsdag 11 oktober 2011 01:16:51 schreef Jared Camins-Esakov:
> +    [ -f "/etc/apache2/sites-available/$name" ]  && \
> +        rm "/etc/apache2/sites-available/$name"
> +    [ -f "/etc/koha/sites/$name/koha-conf.xml" ] && \
> +        rm "/etc/koha/sites/$name/koha-conf.xml"

While I'm OK with this patch, a simpler way do do this is simply to add '-f' 
to the rm, and ' || true' to the other things we don't care about.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to