Skip to content

Instantly share code, notes, and snippets.

View packetpilot's full-sized avatar

dc packetpilot

  • nowhere, VA via Mountain View/NYC/Bangkok
  • 11:28 (UTC -04:00)
View GitHub Profile
@packetpilot
packetpilot / forkhandle.postflight.sh
Created September 19, 2012 09:03
Bundling OS-dependent packages within a unifying OS-agnostic flat pkg
#!/bin/bash
# dc, cops, ooyala
# postflight for bothlions cltools
# 19 Sept 2012
# socialized as a template for OS-agnostic forked packages for leaner package management
# (YMMV depending on how you view package management!)
# postflight intended to install command-line tools across Lion and Mountain Lion
@packetpilot
packetpilot / Office2011-safepatch-postflight.sh
Created May 21, 2012 20:16
(flawed) SP2 full installer + 14.2.2 update postflight
#!/bin/sh
# SP2 Corporate Full Installer (name unaltered from source iso in this path example)
installer -dumplog -verbose -pkg "$1/Contents/Resources/Office Installer.pkg" -target / -applyChoiceChangesXML "$1/Contents/Resources/noquit.xml"
# Bitterly patch the gaping maw
chown -R root:admin /Applications/Microsoft\ Office\ 2011
chmod -R o-w /Applications/Microsoft\ Office\ 2011
# 14.2.2 update (name unaltered from source dmg in this path example)
@packetpilot
packetpilot / printers.catalog
Created May 3, 2012 09:53
InstaDMG Printers Catalog
# Printer Drivers -- Uncomment what you'd like to include, call with "include-file:"
# Last mod 26-April-12
Apple Updates:
# BrotherPrinterDrivers2.8.1 http://support.apple.com/downloads/DL894/en_US/BrotherPrinterDrivers2.8.1.dmg sha1:b05acdafcdd45ea4af3222afe345e5b6afa2dcfa
# CanonPrinterDrivers2.8 http://support.apple.com/downloads/DL899/en_US/CanonPrinterDrivers2.8.dmg sha1:1b38e6f495e620a385fb741884ff5389637d43ac
# EpsonDrivers2.10 http://support.apple.com/downloads/DL1398/en_US/EpsonDrivers2.10.dmg sha1:30444f3faa20d90b80daf4606a9536544ea9b870
# FujiXeroxPrinterDrivers2.2 http://support.apple.com/downloads/DL904/en_US/FujiXeroxPrinterDrivers2.2.dmg sha1:7248823a2361628a3641e12f2be0342689d1abc6
# GestetnerPrinterDrivers2.2 http://support.apple.com/downloads/DL909/en_US/GestetnerPrinterDrivers2.2.dmg sha1:9c7a7e748cdfcab33e5846e6d00b5ade2c8a5a07
# GutenprintPrinterDrivers2.0 http://support.apple.com/downloads/DL911/en_US/GutenprintPrinterDrivers2.0.dmg sha1:c5241581045b7dbc51e13374ad0e35c7e4d2dacb