guardian / homebrew-devtools

A homebrew tap containing dev tools for the Guardian
2 stars 3 forks source link

Formula to add the gu printer. #2

Closed AWare closed 6 years ago

AWare commented 6 years ago

Installs this shell script as install-printer When called with --with-strap it also runs the script.

Authenticates using AD if machine bound or if not AD_USERNAME and AD_PASSWORD if set.

https://gist.github.com/AWare/7a0321260ed26845060be67736885207

Depends upon brew tap caskroom/drivers brew cask install apple-hewlettpackardprinterdrivers which aren't listed in the Formula because of cask weirdness.

AWare commented 6 years ago

for Brewfile brew "install-printer", args: ["with-strap"]

shtukas commented 6 years ago

Looks good Alex +1

I may be talking rubbish but I was once told that the URL needs to point at a tar.gz file, like we do here: https://github.com/guardian/homebrew-devtools/blob/master/Formula/ssm.rb#L5 Make sure to double check :)