aboutsummaryrefslogtreecommitdiffstats
path: root/FAQ
diff options
context:
space:
mode:
authorJason Woodward2005-02-17 14:39:39 +0000
committerJason Woodward2005-02-17 14:39:39 +0000
commit3257fe9b3b01d18905254d377fd1b792200adbf7 (patch)
tree7b6b2e2005463d05d52ca04fe035b6a430cbe452 /FAQ
parent6a921cfa96806b995dc3fd4c612866de15e74c51 (diff)
downloadslapt-get-3257fe9b3b01d18905254d377fd1b792200adbf7.tar.gz
changed tar -O commands for wider tar support
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ10
1 files changed, 5 insertions, 5 deletions
diff --git a/FAQ b/FAQ
index 0db828c..43d9e63 100644
--- a/FAQ
+++ b/FAQ
@@ -347,9 +347,9 @@ Frequently Asked Questions:
LOCATION=$(echo $1|sed -re "s/(.*)\/(.*.tgz)$/\1/")
SIZE=$( expr `gunzip -l $1 |tail -1|awk '{print $1}'` / 1024 )
USIZE=$( expr `gunzip -l $1 |tail -1|awk '{print $2}'` / 1024 )
- REQUIRED=$(tar xzf $1 install/slack-required -O 2>/dev/null|xargs -r -iZ echo -n "Z,"|sed -e "s/,$//")
- CONFLICTS=$(tar xzf $1 install/slack-conflicts -O 2>/dev/null|xargs -r -iZ echo -n "Z,"|sed -e "s/,$//")
- SUGGESTS=$(tar xzf $1 install/slack-suggests -O 2>/dev/null|xargs -r )
+ REQUIRED=$(tar xzfO $1 install/slack-required 2>/dev/null|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
echo "PACKAGE NAME: $NAME" > $LOCATION/$METAFILE
if [ -n "$DL_URL" ]; then
@@ -362,7 +362,7 @@ Frequently Asked Questions:
echo "PACKAGE CONFLICTS: $CONFLICTS" >> $LOCATION/$METAFILE
echo "PACKAGE SUGGESTS: $SUGGESTS" >> $LOCATION/$METAFILE
echo "PACKAGE DESCRIPTION:" >> $LOCATION/$METAFILE
- tar xzf $1 install/slack-desc -O|grep -E '\w+\:'|grep -v '^#' >> $LOCATION/$METAFILE
+ tar xzfO $1 install/slack-desc |grep -E '\w+\:'|grep -v '^#' >> $LOCATION/$METAFILE
echo "" >> $LOCATION/$METAFILE
}
@@ -459,7 +459,7 @@ Frequently Asked Questions:
PACKAGE REQUIRED: man >= 1.5l-i386-1
An example command to pull that data:
- tar xzf pkg-name-version-arch-rel.tgz install/slack-required -O|xargs -iZ echo -n "Z,"|sed -e "s/,$//"
+ tar xzfO pkg-name-version-arch-rel.tgz install/slack-required |xargs -iZ echo -n "Z,"|sed -e "s/,$//"
20. How do I get the newest development version of slapt-get?