From 07f7eff8b835eda01920ec8efd89dbcce2d5557c Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Mon, 30 Nov 2015 21:29:12 +0000 Subject: [PATCH] BLFS tools: fix usage of sudo when cleaning directory before unpacking Package management: update dpkg version --- BLFS/xsl/scripts.xsl | 6 +++++- pkgmngt/packageManager.xml.dpkg | 19 ++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index f1c1776..bf82334 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -98,7 +98,11 @@ -find . -maxdepth 1 -mindepth 1 -type d | xargs sudo rm -rf +find . -maxdepth 1 -mindepth 1 -type d | xargs + + sudo + + rm -rf case $PACKAGE in *.tar.gz|*.tar.bz2|*.tar.xz|*.tgz) tar -xvf $PACKAGE > unpacked diff --git a/pkgmngt/packageManager.xml.dpkg b/pkgmngt/packageManager.xml.dpkg index ec7c803..85628ce 100644 --- a/pkgmngt/packageManager.xml.dpkg +++ b/pkgmngt/packageManager.xml.dpkg @@ -9,15 +9,15 @@ - - + + - + - - - - + + + + ]>
@@ -103,10 +103,7 @@ Installation of Dpkg Since Debian is shipping its own package, all patches have already - been applied. Nevertheless there is either a bug or something - I do not understand... Apply this: - - sed -i '/compress_filter(s/,/va_start/s/^$/compressor_fixup_params(params);\n/' lib/dpkg/compress.c + been applied. Configure the package: