Skip to content

Instantly share code, notes, and snippets.

@dmahlow
Created April 1, 2013 10:17
Show Gist options
  • Save dmahlow/5284147 to your computer and use it in GitHub Desktop.
Save dmahlow/5284147 to your computer and use it in GitHub Desktop.
#!/bin/bash
if ! is_installed $args; then
package_update
package 'python-software-properties'
add-apt-repository -y $2
set_installed $args
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment