Skip to content

Commit

Permalink
Update Toshy.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Nov 20, 2024
1 parent 204f824 commit 603fc20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/toshy.rake
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ task :toshy do
Dir.mktmpdir do |tmpdir|
repo = 'toshy'

command '/usr/bin/curl', '--fail', '--silent', '--location', 'https://github.com/RedBearAK/toshy/archive/25ae5e5c3a9678177e34dc42af83340738924c42.tar.gz',
command '/usr/bin/curl', '--fail', '--silent', '--location', 'https://github.com/RedBearAK/toshy/archive/refs/tags/Toshy_v24.10.1.tar.gz',
'-o', "#{tmpdir}/#{repo}.tar.gz"

command '/usr/bin/tar', '-xf', "#{tmpdir}/#{repo}.tar.gz", '--strip-components', '1', '-C', tmpdir

File.write "#{tmpdir}/setup_toshy.py", File.read("#{tmpdir}/setup_toshy.py").sub(' ask_is_distro_updated()', '')
File.write "#{tmpdir}/setup_toshy.py", File.read("#{tmpdir}/setup_toshy.py").sub(/\s{2,}ask_is_distro_updated\(\)/, '')

Check failure on line 16 in lib/tasks/toshy.rake

View workflow job for this annotation

GitHub Actions / rubocop

[Layout/LineLength] Layout/LineLength: Line is too long. [123/120]
command "#{tmpdir}/setup_toshy.py", 'install', input: "n\ny\n"
end

Expand Down

0 comments on commit 603fc20

Please sign in to comment.