Change snapper configuration location via Makefile

Update installation instructions.

Fixes #43.
This commit is contained in:
James Barnett
2017-06-03 18:42:21 -04:00
parent bfbcefbe31
commit f99fbbdafe
3 changed files with 23 additions and 0 deletions

View File

@@ -20,6 +20,25 @@ have to be sent.
snapper is required.
## Installation
Run:
# make install
By default it will look for the snapper configuration file at
`/etc/sysconfig/snapper`. To change this pass `SNAPPER_CONFIG` to make
with the location of the configuration file. For example, with Ubuntu
you will want to install:
# make SNAPPER_CONFIG=/etc/default/snapper install
For Arch Linux it would be:
# make SNAPPER_CONFIG=/etc/conf.d/snapper install
The package is available in the [AUR](https://aur.archlinux.org/packages/snap-sync/).
## Options
Usage: snap-sync [options]