diff options
Diffstat (limited to 'src/ob-installplatconf.sh')
-rw-r--r-- | src/ob-installplatconf.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ob-installplatconf.sh b/src/ob-installplatconf.sh index 107a76e..ff88e15 100644 --- a/src/ob-installplatconf.sh +++ b/src/ob-installplatconf.sh @@ -63,7 +63,8 @@ copy_config() ob_error "$(ob_get_msg 'cant_make_config_dest_dir')" "${dest%/*}" # Find the config package files. # TODO: Don't hardcode path. - config_dir_base="/usr/share/config/${OB_HOST_PLATFORM}/${OB_SOURCE}" + config_dir_base="$(ob_get_system_path 'platconf' \ + "${OB_SOURCE}" "${OB_SOURCE_VERSION}" "${OB_HOST_PLATFORM}")" if [ -d "${config_dir_base}-${OB_SOURCE_VERSION_UPSTREAM}" ]; then src_base="${config_dir_base}-${OB_SOURCE_VERSION_UPSTREAM}" elif [ -d "${config_dir_base}" ]; then |