diff --git a/cookbooks/base/default.rb b/cookbooks/base/default.rb index 107c88e..07657ff 100644 --- a/cookbooks/base/default.rb +++ b/cookbooks/base/default.rb @@ -35,6 +35,7 @@ end # Install the necessary packages: include_recipe './packages.rb' +include_recipe './eget.rb' # Lang Setting: include_recipe './lang.rb' diff --git a/cookbooks/base/eget.rb b/cookbooks/base/eget.rb new file mode 100644 index 0000000..a168e56 --- /dev/null +++ b/cookbooks/base/eget.rb @@ -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'