Skip to content

Commit

Permalink
Fix runner for debian 12
Browse files Browse the repository at this point in the history
  • Loading branch information
crohr committed Jul 6, 2023
1 parent 1653c59 commit b48cfd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pkgr/distributions/debian.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ def release

def runner
@runner ||= case release
when /^8/, /^9/, /^10/, /^11/
Runner.new("systemd", "default", "systemctl")
else
when /^6/, /^7/
Runner.new("sysv", "lsb-3.1", "update-rc.d")
else
Runner.new("systemd", "default", "systemctl")
end
end

Expand Down

0 comments on commit b48cfd6

Please sign in to comment.