Skip to content

Instantly share code, notes, and snippets.

@ngsankha
Created November 5, 2013 20:22
Show Gist options
  • Save ngsankha/7325552 to your computer and use it in GitHub Desktop.
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
#!/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