diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-27 21:21:52 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2008-11-27 21:21:52 +0000 |
commit | 56d7b602a4209d74a2a1a7cd2d6ea2920e8c3690 (patch) | |
tree | c099332a64b1367d8e2d9d1c842799052a2e9d6d /trunk/lib/common.sh | |
parent | 00c88ddea93f87db6fb81f7766c591c810de43ea (diff) | |
download | simplepkg-56d7b602a4209d74a2a1a7cd2d6ea2920e8c3690.tar.gz simplepkg-56d7b602a4209d74a2a1a7cd2d6ea2920e8c3690.tar.bz2 |
fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@560 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r-- | trunk/lib/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index f298443..79a7a0d 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -825,7 +825,7 @@ function gen_meta { LOCATION=$(echo $1 | sed -re "s/(.*)\/(.*.tgz)$/\1/") SIZE=$( expr `gunzip -l $1 | tail -n 1 | awk '{print $1}'` / 1024 ) USIZE=$( expr `gunzip -l $1 | tail -n 1 | awk '{print $2}'` / 1024 ) - REQUIRED=$(tar xzfO $1 install/slack-required 2>/dev/null | grep -e -v "^#" | xargs -r -iZ echo -n "Z," | sed -e "s/,$//") + REQUIRED=$(tar xzfO $1 install/slack-required 2>/dev/null | grep -v -e "^#" | xargs -r -iZ echo -n "Z," | sed -e "s/,$//") CONFLICTS=$(tar xzfO $1 install/slack-conflicts 2>/dev/null | xargs -r -iZ echo -n "Z," | sed -e "s/,$//") SUGGESTS=$(tar xzfO $1 install/slack-suggests 2>/dev/null | xargs -r ) METAFILE=${NAME%tgz}meta |