Skip to content

Instantly share code, notes, and snippets.

View pzol's full-sized avatar

Piotr Zolnierek pzol

View GitHub Profile
@pzol
pzol / ubuntu_rvm.sh
Created December 5, 2010 08:33
rvm installation under ubuntu
#!/bin/bash -l
install_path="$HOME/install"
### Verify if the executing user is the root
function is_root {
if [[ $(/usr/bin/id -u) -ne 0 ]]; then
echo "The installation process requires to be run as root. Consider using sudo."
false
fi