Created
November 5, 2013 20:22
-
-
Save ngsankha/7325552 to your computer and use it in GitHub Desktop.
Script that I use to bootstrap an empty system to my dev environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script that I use to bootstrap an empty system to my dev environment | |
# Author: Sankha Narayan Guria | |
# License: MIT | |
# List of version control systems that I generally have installed | |
function get_vcs { | |
apt-get install git mercurial subversion | |
} | |
# Execute above tasks only if root | |
if [[ $EUID -ne 0 ]]; then | |
echo "I can only be run by the root user." | |
else | |
# Comment out the tasks that are not required | |
get_vcs | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment