From 66e122128bd7d54e59a9992613769a68c4469d5a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 27 Jul 2013 17:42:11 -0400 Subject: db_add_package(): Make directory. --- diff --git a/lib/db.sh b/lib/db.sh index eb67a9a..7533126 100644 --- a/lib/db.sh +++ b/lib/db.sh @@ -180,6 +180,7 @@ db_add_package() dir="${opt_base_dir}/pool/$(hash_name "${source}")/${source}/.db" dir="${dir}/${binver}_${arch}_${plat}" + mkdir -p "${dir}" printf '%s %s\n' "${sect}" "${pkg}" >>"${dir}/packages" return 0 -- cgit v0.9.1