mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:14:05 +02:00
Allow use of the offline_root option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@311 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3f0ff69b4e
commit
861cd59e7d
@ -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}\\
|
||||
|
Loading…
Reference in New Issue
Block a user