aboutsummaryrefslogtreecommitdiff
path: root/trunk/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/lib/common.sh')
-rw-r--r--trunk/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index 0e70572..f298443 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 | xargs -r -iZ echo -n "Z," | sed -e "s/,$//")
+ REQUIRED=$(tar xzfO $1 install/slack-required 2>/dev/null | grep -e -v "^#" | 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