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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to