From 2bc20880428f6770f3368441981ab9a0453ecf11 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sun, 11 Sep 2022 18:57:32 +0200 Subject: [PATCH] Use of dpkg-deb to extract packages. --- nixdeb.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixdeb.sh b/nixdeb.sh index bbc3a63..7e7b0df 100755 --- a/nixdeb.sh +++ b/nixdeb.sh @@ -2,11 +2,9 @@ set -x -ADMIN_DIR=./nixdeb/admindir INSTALL_DIR=./nixdeb/store ROOT_DIR=./nixdeb/root -mkdir -p $ADMIN_DIR mkdir -p $ROOT_DIR for p in $(apt-rdepends $1 2> /dev/null | grep -v "^ ") @@ -23,7 +21,7 @@ INSTALL_DIR_PKG=$INSTALL_DIR/$filename mkdir -p $INSTALL_DIR_PKG apt-get download $p -dpkg --unpack --force-all --admindir=$ADMIN_DIR --instdir=$INSTALL_DIR_PKG $filename +dpkg-deb -x $filename $INSTALL_DIR_PKG links () { dir=$1 -- 2.49.0