Skip to content

Instantly share code, notes, and snippets.

@levabd
Created September 6, 2016 18:45
Show Gist options
  • Save levabd/153441ea1cde8aed163a687a7cda6b8e to your computer and use it in GitHub Desktop.
Save levabd/153441ea1cde8aed163a687a7cda6b8e to your computer and use it in GitHub Desktop.
Rsync recipe for stack-updater
[
{
"name": "Rsync",
"command": "/usr/bin/dpkg -l | awk '$2==\"rsync\" { print $3 }'",
"required": "3.1.1",
"comparison": ">=",
"installer": "rsync.sh",
"order": "1"
}
]
#!/bin/bash
set -e #exit immediately if a simple command exits with a nonzero exit value
apt-get update
apt-get install -y rsync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment