aboutsummaryrefslogtreecommitdiffstats
path: root/FAQ
diff options
context:
space:
mode:
authorJason Woodward2004-02-20 19:26:55 +0000
committerJason Woodward2004-02-20 19:26:55 +0000
commitb3e82c82784debd94fdaec0cdcb5f8003e39bde1 (patch)
tree36def54c1d2da169a0120dde988e26f00d03013f /FAQ
parent376d368810990d29237f1aa0bd659fdb9f3bc931 (diff)
downloadslapt-get-b3e82c82784debd94fdaec0cdcb5f8003e39bde1.tar.gz
merging last changes
Diffstat (limited to 'FAQ')
-rw-r--r--FAQ4
1 files changed, 2 insertions, 2 deletions
diff --git a/FAQ b/FAQ
index f9027a2..747c019 100644
--- a/FAQ
+++ b/FAQ
@@ -327,7 +327,7 @@ Frequenty Asked Questions:
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/,$//")
- METAFILE=$(echo $NAME|sed -re "s/\.tgz$/\.meta/")
+ METAFILE=${NAME%tgz}meta
echo "PACKAGE NAME: $NAME" > $LOCATION/$METAFILE
echo "PACKAGE LOCATION: $LOCATION" >> $LOCATION/$METAFILE
echo "PACKAGE SIZE (compressed): $SIZE K" >> $LOCATION/$METAFILE
@@ -358,7 +358,7 @@ Frequenty Asked Questions:
new)
for pkg in `find . -type f -name '*.tgz' -print`
do
- if [ ! -f "`echo $pkg|sed -re 's/\.tgz$/\.meta/'`" ]; then
+ if [ ! -f ${pkg%tgz}meta ]; then
gen_meta $pkg
fi
done