Allow use of the offline_root option

SVN-Revision: 311
owl
Nicolas Thill 2005-03-06 10:58:48 +00:00
parent 6efe56b146
commit 39b95c064a
1 changed files with 2 additions and 1 deletions

View File

@ -882,7 +882,8 @@ diff -u $dest/$conffile $IPKG_TMP/$pkg/data/$conffile"
if [ -n "$new_conffiles" ]; then if [ -n "$new_conffiles" ]; then
new_conffiles='Conffiles: '`echo $new_conffiles | ipkg_protect_slashes` new_conffiles='Conffiles: '`echo $new_conffiles | ipkg_protect_slashes`
fi 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\\ sed -e "s/\(Package:.*\)/\1\\
Status: install ok installed\\ Status: install ok installed\\
Root: ${sed_safe_root}\\ Root: ${sed_safe_root}\\