Skip to content

Commit

Permalink
The powertools repo is named ol8_codeready_builder in oracle linux 8
Browse files Browse the repository at this point in the history
  • Loading branch information
dschlenk committed Sep 27, 2024
1 parent a8f1215 commit 974f94c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/sql/_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ def install_pg_gem
declare_resource(:package, libpq_package_name) { compile_time(true) }
declare_resource(:package, 'perl-IPC-Run') do
compile_time(true)
options('--enablerepo=powertools')
if platform?('oracle')
options ['--enablerepo=ol8_codeready_builder']
else
options('--enablerepo=powertools')
end
end
when 9
declare_resource(:package, libpq_package_name) { compile_time(true) }
Expand Down

0 comments on commit 974f94c

Please sign in to comment.