diff options
author | Markus Schanz | 2020-09-20 22:46:37 +0200 |
---|---|---|
committer | Markus Schanz | 2020-09-20 22:46:37 +0200 |
commit | 6c78d55283eca80cb4bf510cc14add11750a6914 (patch) | |
tree | 8ad8704ddbf8c68f7c831d1d75fd5b5035851973 | |
parent | 69d68ec88cc8ed8df8ab2dba74edff2b3a3537a1 (diff) | |
download | aur-6c78d55283eca80cb4bf510cc14add11750a6914.tar.gz |
Removed rsync as a package dependency (as the previous version stopped using it)
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | CHANGELOG | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | pacman-boot-backup-hook.install | 2 | ||||
-rw-r--r-- | uu_bootbackup.hook | 1 |
5 files changed, 9 insertions, 7 deletions
@@ -1,11 +1,11 @@ pkgbase = pacman-boot-backup-hook pkgdesc = Pacman hook that creates a copy of the /boot directory prior and post to upgrades of the systemd package or when mkinitcpio is triggered. - pkgver = 1.4 + pkgver = 1.5 pkgrel = 1 + install = pacman-boot-backup-hook.install changelog = CHANGELOG arch = any license = MIT - depends = rsync source = LICENSE source = backup-boot-partition source = 50_bootbackup.hook diff --git a/CHANGELOG b/CHANGELOG index b2bf38f82045..fb4adfbffc93 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +v1.5 (2020/09/20): +- rsync is no longer a dependency of this package. + - The previous version only stopped using it, without removing it as a dependency. + v1.4 (2018/08/01): - Simplified package by dropping rsync dependency - cp is now used in favor of rsync @@ -1,13 +1,12 @@ # Maintainer: Markus Schanz <coksnuss@googlemail.com> pkgname=pacman-boot-backup-hook -pkgver=1.4 +pkgver=1.5 pkgrel=1 pkgdesc="Pacman hook that creates a copy of the /boot directory prior and post to upgrades of the systemd package or when mkinitcpio is triggered." install=$pkgname.install arch=('any') license=('MIT') changelog=CHANGELOG -depends=('rsync') source=('LICENSE' 'backup-boot-partition' @@ -17,7 +16,7 @@ source=('LICENSE' md5sums=('ac9ac34b11dd5a53d096a734ab677479' 'b9dcf01f081c8a2aa10b53e46b2add06' 'a38b6feb83944ea401e871b2c2fa704d' - 'f041fe352b3f48f08a1afad132312b94' + '41d1095e8e4ee71e1ef6fa11a0c0180e' '24b9fcd221dce61036831f9a6e2b49bb') package() { diff --git a/pacman-boot-backup-hook.install b/pacman-boot-backup-hook.install index b99b665c18b1..a8a0bd946b10 100644 --- a/pacman-boot-backup-hook.install +++ b/pacman-boot-backup-hook.install @@ -12,7 +12,7 @@ warning() { } post_upgrade() { - if [[ $1 == 1.4-* && $2 == 1.3-* ]]; then + if [[ $2 == 1.3-* ]]; then warning "Variable \$BACKUP_PATH_SRC in pacman-boot-backup.conf is no longer effective!" msg "In case /etc/pacman-boot-backup.conf wasn't modified, no actions are required!" msg "From now on, only files within /boot will be backed up!" diff --git a/uu_bootbackup.hook b/uu_bootbackup.hook index 9718607fdaa3..c2895de23b20 100644 --- a/uu_bootbackup.hook +++ b/uu_bootbackup.hook @@ -15,5 +15,4 @@ Target = usr/lib/initcpio/* [Action] Description = Backup boot partition... When = PostTransaction -Depends = rsync Exec = /usr/share/libalpm/scripts/backup-boot-partition post |