Support fo Ubuntu2404 #26

Merged
kazu634 merged 29 commits from ubuntu2404 into main 2024-11-03 02:03:02 +00:00
1 changed files with 12 additions and 5 deletions
Showing only changes of commit 4f2aeaac41 - Show all commits

View File

@ -1,7 +1,14 @@
result = run_command('which eget', error: false)
if result.exit_status != 0
# Install eget
execute 'curl https://zyedidia.github.io/eget.sh | sh' do execute 'curl https://zyedidia.github.io/eget.sh | sh' do
not_if 'which eget'
cwd '/usr/local/bin/' cwd '/usr/local/bin/'
end end
execute 'chown root:root /usr/local/bin/eget' execute 'chown root:root /usr/local/bin/eget'
execute 'chmod 755 /usr/local/bin/eget' execute 'chmod 755 /usr/local/bin/eget'
end
%w( zyedidia/eget mgdm/htmlq ).each do |p|
execute "eget #{p} --to /usr/local/bin/ --upgrade-only"
end