projects
/
hdw-linux
/
hdw-linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3675adf
)
bugfixed hdw-get
author
hackbard
<hackbard>
Sat, 24 Jul 2004 15:24:41 +0000
(15:24 +0000)
committer
hackbard
<hackbard>
Sat, 24 Jul 2004 15:24:41 +0000
(15:24 +0000)
misc/hdw-tools/hdw-get
patch
|
blob
|
history
diff --git
a/misc/hdw-tools/hdw-get
b/misc/hdw-tools/hdw-get
index
5cb2e40
..
b4b180d
100644
(file)
--- a/
misc/hdw-tools/hdw-get
+++ b/
misc/hdw-tools/hdw-get
@@
-160,10
+160,11
@@
elif [ "$install" = "1" ] ; then
fi
# merging info/dir file
fi
# merging info/dir file
- fl_file=`ls -A $inst_root/var/adm/flists/$package-[0-9]* | tail -1`
+ pkg=`basename $package | sed 's/.tar.bz2//'`
+ fl_file=`ls -A $inst_root/var/adm/flists/$pkg-[0-9]* | tail -1`
if [ -n "`grep usr/share/info/dir $fl_file`" ] ; then
echo "" >> /tmp/.hdw-get/dir
if [ -n "`grep usr/share/info/dir $fl_file`" ] ; then
echo "" >> /tmp/.hdw-get/dir
- echo "$p
ackage
info - added by hdw `date`" >> /tmp/.hdw-get/dir
+ echo "$p
kg
info - added by hdw `date`" >> /tmp/.hdw-get/dir
for info_obj in `grep 'usr/share/info/.*.info' $fl_file | \
awk -F/ '{ print $4 }'`; do
info_o=`echo $info_obj | sed 's/.info//'`
for info_obj in `grep 'usr/share/info/.*.info' $fl_file | \
awk -F/ '{ print $4 }'`; do
info_o=`echo $info_obj | sed 's/.info//'`