Commit 0abfcd4c authored by Philippe Guilbault's avatar Philippe Guilbault Committed by Natanael Copa
Browse files

Removed obsolete code

parent 07af120c
...@@ -635,10 +635,7 @@ cmd_status() { ...@@ -635,10 +635,7 @@ cmd_status() {
unpack_apkovl "$tmp/a" unpack_apkovl "$tmp/a"
# generate new apkovl and extract to tmpdir/b # generate new apkovl and extract to tmpdir/b
local save_encryption="$ENCRYPTION"
ENCRYPTION=
cmd_package - | tar -C "$tmp/b" -zx cmd_package - | tar -C "$tmp/b" -zx
ENCRYPTION="$save_encryption"
# show files that exists in a but not in b as deleted # show files that exists in a but not in b as deleted
local f local f
...@@ -687,7 +684,6 @@ cmd_diff() { ...@@ -687,7 +684,6 @@ cmd_diff() {
init_tmpdir tmp init_tmpdir tmp
mkdir -p "$tmpdir/a" "$tmp/b" mkdir -p "$tmpdir/a" "$tmp/b"
unpack_apkovl "$tmp/a" unpack_apkovl "$tmp/a"
ENCRYPTION=
cmd_package - | tar -C "$tmp/b" -zx cmd_package - | tar -C "$tmp/b" -zx
if diff --help 2>&1 | grep -q -- --no-dereference; then if diff --help 2>&1 | grep -q -- --no-dereference; then
diff_opts="--no-dereference" diff_opts="--no-dereference"
......
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