projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CHANGELOG 2004-12-06
[hdw-linux/hdw-linux.git]
/
misc
/
hdw-tools
/
hdw-get
diff --git
a/misc/hdw-tools/hdw-get
b/misc/hdw-tools/hdw-get
index
6c9987c
..
10be612
100644
(file)
--- a/
misc/hdw-tools/hdw-get
+++ b/
misc/hdw-tools/hdw-get
@@
-66,7
+66,7
@@
mkdir -p /tmp/.hdw-get
if [ "$remove" = "1" ] ; then
# looking for flist file
fl_pris=""
if [ "$remove" = "1" ] ; then
# looking for flist file
fl_pris=""
- for fl_file in $inst_root/var/adm/flists/$package-[0-9]*; do
+ for fl_file in $inst_root/var/adm/flists/$package-[
x,
0-9]*; do
fl_pris="`echo $fl_file | awk -F- '{ print $NF }'` $fl_pris"
done
fl_max="0"
fl_pris="`echo $fl_file | awk -F- '{ print $NF }'` $fl_pris"
done
fl_max="0"
@@
-170,6
+170,7
@@
elif [ "$install" = "1" ] ; then
retval=$?
if [ "$retval" != "0" ] ; then
echo "package not found at $net_addr, aborting ..."
retval=$?
if [ "$retval" != "0" ] ; then
echo "package not found at $net_addr, aborting ..."
+ exit
else
echo "extracting $package to $inst_root ..."
tar --use-compress-program=bzip2 \
else
echo "extracting $package to $inst_root ..."
tar --use-compress-program=bzip2 \