summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/phase-helpers.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh
index ab597ffa7..a033fa837 100644
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@ -340,11 +340,7 @@ unpack() {
# doesn't inadvertently install it.
rm -f "$y"
fi
- local tarfile
- for tarfile in "${y%.deb}".tar.* ; do
- mv -f "${tarfile}" data.tar.${tarfile##*.} || \
- die "$myfail"
- done
+ mv -f "${y%.deb}".tar.gz data.tar.gz || die "$myfail"
else
ar x "$srcdir$x" || die "$myfail"
fi