Install `eget`.

This commit is contained in:
Kazuhiro MUSASHI 2024-05-11 14:28:07 +09:00
parent f122269855
commit 9a6a874abe
2 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,7 @@ end
# Install the necessary packages: # Install the necessary packages:
include_recipe './packages.rb' include_recipe './packages.rb'
include_recipe './eget.rb'
# Lang Setting: # Lang Setting:
include_recipe './lang.rb' include_recipe './lang.rb'

7
cookbooks/base/eget.rb Normal file
View File

@ -0,0 +1,7 @@
execute 'curl https://zyedidia.github.io/eget.sh | sh' do
not_if 'which eget'
cwd '/usr/local/bin/'
end
execute 'chown root:root /usr/local/bin/eget'
execute 'chmod 755 /usr/local/bin/eget'