Re: Check_package () buggy? s/if `Chroot ...`/[ -n `Chroot ...`]

2007-08-01 Thread Mathieu GELI
I got this message after removing some .stage/ stampfiles: |/usr/share/live-helper/functions/packages.sh: line 21: Package:: command not found That was a temporary quick revert before release. If you look at svn, you'll see that has changed. Still needs some revamping though. BTW I also get

Re: Check_package () buggy? s/if `Chroot ...`/[ -n `Chroot ...`]

2007-08-01 Thread Justin Pryzby
Third attempt.. On Tue, Jul 31, 2007 at 04:25:43PM -0400, Justin Pryzby wrote: On Tue, Jul 31, 2007 at 03:48:13PM -0400, Justin Pryzby wrote: I got this message after removing some .stage/ stampfiles: |/usr/share/live-helper/functions/packages.sh: line 21: Package:: command not found

Re: Check_package () buggy? s/if `Chroot ...`/[ -n `Chroot ...`]

2007-08-01 Thread Mathieu GELI
This last patch also doesn't work after removing some stampfiles since purged packages (or removed but not purged or ...) are still in the dpkg status database. I'm using this instead which does what I want. Yes, it seems that we overlooked that detail. I better do a : dpkg-query -W

Re: Check_package () buggy? s/if `Chroot ...`/[ -n `Chroot ...`]

2007-07-31 Thread Justin Pryzby
On Tue, Jul 31, 2007 at 03:48:13PM -0400, Justin Pryzby wrote: I got this message after removing some .stage/ stampfiles: |/usr/share/live-helper/functions/packages.sh: line 21: Package:: command not found Is this patch sane? --- /tmp/packages.sh 2007-07-31 15:40:49.0 -0400 +++