projects
/
openwrt
/
staging
/
jogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6efe56b
)
Allow use of the offline_root option
author
Nicolas Thill
<nico@openwrt.org>
Sun, 6 Mar 2005 10:58:48 +0000
(10:58 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Sun, 6 Mar 2005 10:58:48 +0000
(10:58 +0000)
SVN-Revision: 311
openwrt/target/default/target_skeleton/bin/ipkg
patch
|
blob
|
history
diff --git
a/openwrt/target/default/target_skeleton/bin/ipkg
b/openwrt/target/default/target_skeleton/bin/ipkg
index bf275d842d168dcb8415c1214835efb8f1543d83..19454192b85f8b2981013bf763d0977f73eaa9b3 100755
(executable)
--- a/
openwrt/target/default/target_skeleton/bin/ipkg
+++ b/
openwrt/target/default/target_skeleton/bin/ipkg
@@
-882,7
+882,8
@@
diff -u $dest/$conffile $IPKG_TMP/$pkg/data/$conffile"
if [ -n "$new_conffiles" ]; then
new_conffiles='Conffiles: '`echo $new_conffiles | ipkg_protect_slashes`
fi
- local sed_safe_root="`echo $dest | sed -e "s/^${IPKG_OFFLINE_ROOT}//" | ipkg_protect_slashes`"
+ local sed_safe_offline_root="`echo ${IPKG_OFFLINE_ROOT} | ipkg_protect_slashes`"
+ local sed_safe_root="`echo $dest | sed -e "s/^${sed_safe_offline_root}//" | ipkg_protect_slashes`"
sed -e "s/\(Package:.*\)/\1\\
Status: install ok installed\\
Root: ${sed_safe_root}\\