]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 27 Nov 2008 21:21:52 +0000 (21:21 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 27 Nov 2008 21:21:52 +0000 (21:21 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@560 04377dda-e619-0410-9926-eae83683ac58

trunk/lib/common.sh

index f29844361bdbec8cd5bdd37f2af7c8d040bb547c..79a7a0dc6bda19566dc32568cecef7b5a9a79ebc 100644 (file)
@@ -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