[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[base-installer] [PATCH] Create DPKG_CONFDIR before putting files in it



---
 library.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/library.sh b/library.sh
index e40b51c..a89d7db 100644
--- a/library.sh
+++ b/library.sh
@@ -181,6 +181,8 @@ Acquire::https::Verify-Peer "false";
 EOT
 	fi
 
+	[ ! -d "$DPKG_CONFDIR" ] && mkdir -p "$DPKG_CONFDIR"
+
 	# Disable all syncing; it's unnecessary in an installation context,
 	# and can slow things down quite a bit.
 	# This file will be left in place until the end of the install.
-- 
1.8.5.3


Reply to: