projects
/
openwrt
/
staging
/
jow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cd5b99
)
ipkg: strip directory entries from package file list when offline installing .ipk...
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 1 Mar 2010 18:01:33 +0000
(18:01 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 1 Mar 2010 18:01:33 +0000
(18:01 +0000)
SVN-Revision: 19936
scripts/ipkg
patch
|
blob
|
history
diff --git
a/scripts/ipkg
b/scripts/ipkg
index 045a3fd2a21e11ac65b5801494c486dd91700009..da6447c978675f0d1787b15af7a25d8e864d15da 100755
(executable)
--- a/
scripts/ipkg
+++ b/
scripts/ipkg
@@
-875,7
+875,7
@@
diff -u $dest/$conffile $IPKG_TMP/$pkg/data/$conffile"
rm -rf $IPKG_TMP/$pkg/data
rmdir $IPKG_TMP/$pkg
rm -f $info_dir/$pkg.list
- $pkg_extract_stdout $filename ./data.tar.gz | zcat | tar tf - | sed -e 's/^\.//' > $info_dir/$pkg.list
+ $pkg_extract_stdout $filename ./data.tar.gz | zcat | tar tf - | sed -e '
/\/$/d;
s/^\.//' > $info_dir/$pkg.list
if [ -x "$info_dir/$pkg.postinst" ]; then
$info_dir/$pkg.postinst configure