Skip to content

Instantly share code, notes, and snippets.

@ootput
Created June 4, 2010 07:59
Show Gist options
  • Select an option

  • Save ootput/425128 to your computer and use it in GitHub Desktop.

Select an option

Save ootput/425128 to your computer and use it in GitHub Desktop.
#!/bin/sh
tar xzpf "$1" -C /
mkdir -p /var/db/patches/$(basename "$1" .tgz)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment