Sha256: b6ef00da6dc77c91d2208ada372edfc24e30fd7bad16854b205381ebb61cb844
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
#! /bin/sh -ex target=`mktemp -d --suffix _snapsync-install` cd $target cat > Gemfile <<GEMFILE source "https://rubygems.org" gem 'snapsync' GEMFILE bundler install --standalone --binstubs if test -d /opt/snapsync; then sudo rm -rf /opt/snapsync fi sudo cp -r . /opt/snapsync sudo chmod go+rX /opt/snapsync if test -d /lib/systemd/system; then snapsync_gem=`bundler show snapsync` sudo ln -s /opt/snapsync/systemd/* /lib/systemd/system ( sudo systemctl enable snapsync-local.timer sudo systemctl enable snapsync-remote.timer) fi rm -rf $target
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snapsync-0.5.0 | install.sh |