martin f krafft wrote, Tuesday, May 20, 2008 1:41 PM
also sprach Josselin Mouette <[EMAIL PROTECTED]> [2008.05.20.1323 +0100]:
> Le mardi 20 mai 2008 à 12:05 +0100, martin f krafft a écrit :
> > if [ "$1" = configure -a -x /usr/bin/fc-cache ]
>
> Note -that the "$1" = configure check is wrong,
also sprach brian m. carlson <[EMAIL PROTECTED]> [2008.05.20.1321 +0100]:
> I could be wrong, but if the subshell exits 1, then the entire
> expression is false, and so if you are using "set -e" like you're
> supposed to, then the postinst fails.
The policy mentions it, but it doesn't say set -e i
Le mardi 20 mai 2008 à 12:05 +0100, martin f krafft a écrit :
> if [ "$1" = configure -a -x /usr/bin/fc-cache ]
Note -that the "$1" = configure check is wrong, see #446856.
> (echo "failed; see /var/log/fontconfig.log for more information."; \
> exit 1)
> This is wrong. Using ()'s crea
On Tue, May 20, 2008 at 12:05:46PM +0100, martin f krafft wrote:
Hi folks,
I noticed the other day that there are quite a few packages like
ttf-bitstream-vera which do the following in
/var/lib/dpkg/info/ttf-bitstream-vera.postinst:
if [ "$1" = configure -a -x /usr/bin/fc-cache ]
then
echo
Hi folks,
I noticed the other day that there are quite a few packages like
ttf-bitstream-vera which do the following in
/var/lib/dpkg/info/ttf-bitstream-vera.postinst:
if [ "$1" = configure -a -x /usr/bin/fc-cache ]
then
echo -n "Regenerating fonts cache... "
HOME=/root fc-cache -f -v
5 matches
Mail list logo