check_data_file_clashes_change: remove duplicated offline root in paths
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>
Wed, 23 Mar 2016 23:14:50 +0000 (18:14 -0500)
committerJo-Philipp Wich <jo@mein.io>
Wed, 15 Mar 2017 02:18:34 +0000 (03:18 +0100)
commit1d0263bb40e3c099501fc1f2431907636230e7f2
treee85af7ff151612a966272ffcb4e3c797f2272cdd
parenta00a6a9bd4ce2e19b7d5a3f4733f60a5ee32e221
check_data_file_clashes_change: remove duplicated offline root in paths

The function check_data_file_clashes_change update the ownership of
files that belong to a package being replaced. It calls
pkg_get_installed_files then adds an offline root if
opkg_conf->offline_root to each path. However, pkg_get_installed_files
already returns paths with the offline root (if present).

This fixes issue 156.

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
libopkg/opkg_install.c