projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e05a15
)
fix $IPKG_TMP creation
author
Mike Baker
<mbm@openwrt.org>
Fri, 19 Aug 2005 06:16:35 +0000
(06:16 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Fri, 19 Aug 2005 06:16:35 +0000
(06:16 +0000)
SVN-Revision: 1698
openwrt/scripts/ipkg
patch
|
blob
|
history
diff --git
a/openwrt/scripts/ipkg
b/openwrt/scripts/ipkg
index efbeb7dd585f2ae7c3e4aa4f38b6626e452878e2..6cd1cb440ae05f18eda675639b919cdea210299d 100755
(executable)
--- a/
openwrt/scripts/ipkg
+++ b/
openwrt/scripts/ipkg
@@
-121,6
+121,8
@@
Valid destinations are directories or one of the dest names from $IPKG_CONF:" >&
IPKG_TMP=$IPKG_ROOT/tmp/ipkg
fi
+ [ -e "$IPKG_TMP" ] || mkdir -p $IPKG_TMP
+
# Destination specific ipkg meta-data directory
IPKG_STATE_DIR=$IPKG_ROOT/$IPKG_DIR_PREFIX
@@
-690,8
+692,6
@@
Status: install ok not-installed" | ipkg_status_update_sd $sd $pkg
return 1;
fi
- [ -e "$IPKG_TMP" ] || mkdir -p $IPKG_TMP
-
echo ""
local tmp_pkg_file="$IPKG_TMP/"`ipkg_file_part $filename`
if ! ipkg_download `ipkg_src_byname $src`/$filename $tmp_pkg_file; then