summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schanz2020-09-20 22:46:37 +0200
committerMarkus Schanz2020-09-20 22:46:37 +0200
commit6c78d55283eca80cb4bf510cc14add11750a6914 (patch)
tree8ad8704ddbf8c68f7c831d1d75fd5b5035851973
parent69d68ec88cc8ed8df8ab2dba74edff2b3a3537a1 (diff)
downloadaur-6c78d55283eca80cb4bf510cc14add11750a6914.tar.gz
Removed rsync as a package dependency (as the previous version stopped using it)
-rw-r--r--.SRCINFO4
-rw-r--r--CHANGELOG4
-rw-r--r--PKGBUILD5
-rw-r--r--pacman-boot-backup-hook.install2
-rw-r--r--uu_bootbackup.hook1
5 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3498b1f31d40..9475eb168194 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index b49b1d0fd7e4..d3bb68991a76 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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