diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | borgmatic.install | 13 |
4 files changed, 18 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = borgmatic pkgdesc = A wrapper script for Borg backup software that creates and prunes backups pkgver = 1.1.7 - pkgrel = 2 + pkgrel = 3 url = https://torsion.org/borgmatic/ + install = borgmatic.install arch = any license = GPL3 makedepends = python-setuptools diff --git a/.gitignore b/.gitignore index bc9028b62ecb..793d8b6abe6b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ !.SRCINFO !.gitignore !PKGBUILD +!*.install @@ -4,7 +4,7 @@ pkgname='borgmatic' pkgver=1.1.7 -pkgrel=2 +pkgrel=3 pkgdesc='A wrapper script for Borg backup software that creates and prunes backups' arch=('any') url='https://torsion.org/borgmatic/' @@ -12,6 +12,7 @@ license=('GPL3') depends=('borg' 'python-pykwalify' 'python-ruamel-yaml') makedepends=('python-setuptools' 'python-tox') provides=('borgmatic') +install="${pkgname}.install" source=("${pkgname}-${pkgver}.tar.gz::https://torsion.org/hg/${pkgname}/archive/${pkgver}.tar.gz") sha256sums=('939ae88c8f9d2caf77b29a1bb9a53df52fc274ed6f004793616da0c6dab73eae') diff --git a/borgmatic.install b/borgmatic.install new file mode 100644 index 000000000000..dfb5131ee7e0 --- /dev/null +++ b/borgmatic.install @@ -0,0 +1,13 @@ +post_install() { + echo ">>> WARNING: If you are updateing from a 1.0.x release you should run:" + echo ">>> sudo upgrade-borgmatic-config" + echo ">>> to convert your config from ini to yaml format." + echo ">>> For more information read at: https://torsion.org/borgmatic/" +} + +post_upgrade() { + echo ">>> WARNING: If you are updateing from a 1.0.x release you should run:" + echo ">>> sudo upgrade-borgmatic-config" + echo ">>> to convert your config from ini to yaml format." + echo ">>> For more information read at: https://torsion.org/borgmatic/" +} |