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
- echo "$package info - added by hdw `date`" >> /tmp/.hdw-get/dir
+ echo "$pkg 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//'`