diff options
-rw-r--r-- | src/ob-installplatconf.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ob-installplatconf.sh b/src/ob-installplatconf.sh index 147a958..107a76e 100644 --- a/src/ob-installplatconf.sh +++ b/src/ob-installplatconf.sh @@ -39,9 +39,11 @@ main() copied='true' fi - for bin_config in ../*.pkg/config; do - copy_config "${bin_config#../}" 'dest' - copied='true' + for pkg in $(ob_get_binary_packages); do + if [ -r "../${pkg}.pkg/config" ]; then + copy_config "${pkg}.pkg/config" 'dest' + copied='true' + fi done "${copied}" || ob_info "$(ob_get_msg 'no_plat_config')" |