Skip to content

Instantly share code, notes, and snippets.

@dmahlow
Created April 1, 2013 10:17
Show Gist options
  • Select an option

  • Save dmahlow/5284147 to your computer and use it in GitHub Desktop.

Select an option

Save dmahlow/5284147 to your computer and use it in GitHub Desktop.

Revisions

  1. dmahlow created this gist Apr 1, 2013.
    9 changes: 9 additions & 0 deletions add_ppa
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    #!/bin/bash

    if ! is_installed $args; then
    package_update
    package 'python-software-properties'
    add-apt-repository -y $2

    set_installed $args
    fi