- Ubuntu 14.04 LTS x64
- Java 1.7
- Jenkins 1.639
- NodeJS plugin 0.2.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # from http://sysadvent.blogspot.no/2008/12/day-9-lock-file-practices.html | |
| lockfile="/tmp/cron_rsync.lock" | |
| if [ -z "$flock" ] ; then | |
| lockopts="-w 0 $lockfile" | |
| exec env flock=1 flock $lockopts $0 "$@" | |
| fi |
extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=unknown&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc"
unzip -d "$extension_id-source" "$extension_id.zip"Thx to crxviewer for the magic download URL.