Re: --purge and log/spool files
Justin Pryzby <justinpryzby@users.sourceforge.net> wrote:
> Note that there was a relevant thread on -devel around about last
> October. Someone complained that their thesis was in /var/log/apache/
> and was deleted when they purged the package. As such, you might
> consider something like rm -f /var/log/apache/{access,error}.log*;
Warning: this type of globbing is not supported by the POSIX shell.
Therefore, it is not suitable for /bin/sh. You can write a for loop, or
use "#! /bin/bash".
--
Florent
Reply to: