Skip to content

Commit

Permalink
use template opensuse on openSUSE Tumbleweed, where /etc/os-release c…
Browse files Browse the repository at this point in the history
…ontains ID="opensuse-tumbleweed"

(cherry picked from commit 7fa4f56)
  • Loading branch information
Johannes Kastl authored and dcermak committed Aug 12, 2021
1 parent a8c126d commit 5c33610
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/gem2rpm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ if template_file.nil?
f.close
f = nil
end
if template_file.eql? '"opensuse-tumbleweed"'
$stderr.puts 'Using template opensuse on Tumbleweed'
template_file = 'opensuse'
end
end
if template_file.nil?
template = Gem2Rpm::TEMPLATE
Expand Down

0 comments on commit 5c33610

Please sign in to comment.