On Tue, Feb 06, 2007 at 08:45:01AM -0200, Otavio Salvador wrote: >From: Otavio Salvador <[EMAIL PROTECTED]> > >APT uses the dpkg status file and then we should make an empty file if >it doesn't exists. > >Signed-off-by: Otavio Salvador <[EMAIL PROTECTED]> >--- > > tools/apt-selection | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/tools/apt-selection b/tools/apt-selection >index 5e04649..b651584 100755 >--- a/tools/apt-selection >+++ b/tools/apt-selection >@@ -52,6 +52,9 @@ fi > if [ ! -d "$APTTMP/$CODENAME-$ARCH/apt" ]; then > mkdir -p "$APTTMP/$CODENAME-$ARCH/apt" > fi >+if [ ! -e "$APTTMP/$CODENAME-$ARCH/status" ]; then >+ touch "$APTTMP/$CODENAME-$ARCH/status" >+fi > if [ ! -e "$APTTMP/$CODENAME-$ARCH/apt/sources.list" ]; then > > # Generating a correct sources.list file
Hmmm. I'm curious why you need this - the Makefile code in the $(ADIR)/status: target should be making the status file as needed, surely? -- Steve McIntyre, Cambridge, UK. [EMAIL PROTECTED] There's no sensation to compare with this Suspended animation, A state of bliss
signature.asc
Description: Digital signature