Commit 07af120c authored by Philippe Guilbault's avatar Philippe Guilbault Committed by Natanael Copa

setup-disk fails because of 'lbu package | tar' & encryption config

parent cd395b7e
...@@ -303,7 +303,7 @@ cmd_package() { ...@@ -303,7 +303,7 @@ cmd_package() {
run-parts "$LBU_PREPACKAGE" >&2 || return 1 run-parts "$LBU_PREPACKAGE" >&2 || return 1
fi fi
[ -n "$ENCRYPTION" ] && suff="$suff.$ENCRYPTION" [ -n "$ENCRYPTION" ] && [ "x$pkg" != "x-" ] && suff="$suff.$ENCRYPTION"
# find filename # find filename
if [ -d "$pkg" ] ; then if [ -d "$pkg" ] ; then
...@@ -332,7 +332,7 @@ cmd_package() { ...@@ -332,7 +332,7 @@ cmd_package() {
rc=$? rc=$?
fi fi
if [ $rc -eq 0 ]; then if [ $rc -eq 0 ]; then
if [ -z "$ENCRYPTION" ]; then if [ -z "$ENCRYPTION" ] || [ "x$pkg" = "x-" ]; then
_gen_filelist | $tar_create -z >"$tmppkg" _gen_filelist | $tar_create -z >"$tmppkg"
rc=$? rc=$?
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment