mirror of
https://github.com/correl/melpa.git
synced 2024-11-14 11:09:31 +00:00
46 lines
943 B
Bash
Executable file
46 lines
943 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# \curl -L https://raw.github.com/milkypostman/melpa/master/scripts/bootstrap | bash
|
|
|
|
SUDOENV='DEBIAN_FRONTEND=noninteractive'
|
|
|
|
cd ${HOME}
|
|
#sudo ${SUDOENV} add-apt-repository -y ppa:cassou/emacs
|
|
sudo ${SUDOENV} apt-get -y update
|
|
sudo ${SUDOENV} apt-get -y upgrade
|
|
sudo ${SUDOENV} apt-get -y install \
|
|
bzr \
|
|
curl \
|
|
cvs \
|
|
darcs \
|
|
emacs24 emacs24-el emacs24-common-non-dfsg \
|
|
fossil \
|
|
git \
|
|
make \
|
|
mercurial \
|
|
nginx \
|
|
runit \
|
|
subversion \
|
|
texinfo \
|
|
tmux
|
|
|
|
# build the log stuff
|
|
mkdir -p ~/log
|
|
mkdir -p ~/var/run
|
|
mkdir -p ~/var/lib/logrotate
|
|
mkdir -p ~/www
|
|
mkdir -p ~/etc
|
|
|
|
|
|
# ruby is used for templating
|
|
\curl -L https://get.rvm.io | bash -s stable
|
|
PATH=$PATH:$HOME/.rvm/bin
|
|
source "$HOME/.rvm/scripts/rvm"
|
|
rvm requirements
|
|
rvm install ruby-1.9.3
|
|
rvm use ruby-1.9.3 --default
|
|
echo "source ~/.profile" >> .bash_profile
|
|
|
|
git clone http://github.com/milkypostman/melpa
|
|
|
|
sudo reboot
|