Commits

Chad Stovern committed 8e510eb

split deploy.sh into a regular user and root script

  • Participants
  • Parent commits 1de3f4d

Comments (0)

Files changed (3)

File deploy.sh

-#!/usr/bin/env bash
-cd ~
-ln -s ~/freebsd-prefs/bashrc .bashrc
-ln -s ~/freebsd-prefs/vimrc .vimrc
-ln -s ~/freebsd-prefs/tmux.conf .tmux.conf
-cp .profile .profile.orig && cat freebsd-prefs/cat-append-me-to-profile >> .profile
-mkdir ~/tmp
-ln -s ~/freebsd-prefs/vimrc-fancy .vimrc
-git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

File root-deploy.sh

+#!/usr/bin/env bash
+cd ~
+ln -s ~/freebsd-prefs/bashrc .bashrc
+ln -s ~/freebsd-prefs/vimrc .vimrc
+mkdir ~/tmp
+git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

File user-deploy.sh

+#!/usr/bin/env bash
+cd ~
+ln -s ~/freebsd-prefs/bashrc .bashrc
+ln -s ~/freebsd-prefs/vimrc-fancy .vimrc
+ln -s ~/freebsd-prefs/tmux.conf .tmux.conf
+cp .profile .profile.orig && cat freebsd-prefs/cat-append-me-to-profile >> .profile
+mkdir ~/tmp
+git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle