mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Added support for Linux Mint
This commit is contained in:
parent
e23ea50d4b
commit
b0ec3a08ba
23 changed files with 337 additions and 87 deletions
21
bin/bootstrap/bootstrap_mint.sh
Executable file
21
bin/bootstrap/bootstrap_mint.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ $1 == 'now' ]]; then
|
||||
# Install dot's dependencies
|
||||
sudo apt-add-repository ppa:brightbox/ruby-ng
|
||||
sudo apt-get update
|
||||
sudo apt-get install ruby2.4 ruby2.4-dev ruby-switch cmake build-essential
|
||||
sudo ruby-switch --set ruby2.4
|
||||
sudo gem install --no-ri --no-rdoc bundler
|
||||
|
||||
# Make dot usable
|
||||
cd ~/.dotfiles
|
||||
bundle install
|
||||
|
||||
# Install Puppet modules
|
||||
bundle exec rake dots:run_r10k
|
||||
|
||||
# Display tasks that can be run
|
||||
echo 'These are the task that can now be executed:'
|
||||
bundle exec rake -T |grep --color=never 'rake dots'
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue