summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schanz2023-10-21 22:17:42 +0200
committerMarkus Schanz2023-10-21 22:19:54 +0200
commit3ed63adb6dec8b4500ee75834bc4b07c6867950f (patch)
treebff685cff3c26a14b3dff1774988400145c524de
parent6088959887aab4c921a7d01def3446661eb0ea61 (diff)
downloadaur-3ed63adb6dec8b4500ee75834bc4b07c6867950f.tar.gz
Remove install script
-rw-r--r--.SRCINFO4
-rw-r--r--CHANGELOG4
-rw-r--r--PKGBUILD4
-rw-r--r--pacman-boot-backup-hook.install20
4 files changed, 6 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3706f87ee3d8..c6decdf0aba9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,10 @@
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.6
+ pkgver = 1.7
pkgrel = 1
- install = pacman-boot-backup-hook.install
changelog = CHANGELOG
arch = any
license = MIT
- depends = ncurses
backup = etc/pacman-boot-backup.conf
source = LICENSE
source = backup-boot-partition
diff --git a/CHANGELOG b/CHANGELOG
index 64158940eaa1..bbda70d895f4 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+v1.7 (2023/10/21):
+- Removed install script which was merely used to notify users about a breaking change that was introduced 5 years ago in v1.4
+ - removed ncurses dependency alongside with it
+
v1.6 (2023/07/12):
- ncurses is a runtime dependency because `tput` is used in the .install script
- the config file is now listed in the `backup` PKGBUILD array to respect the user configuration on package upgrades
diff --git a/PKGBUILD b/PKGBUILD
index 041406caf7ed..1101597bf604 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,10 @@
# Maintainer: Markus Schanz <coksnuss@googlemail.com>
pkgname=pacman-boot-backup-hook
-pkgver=1.6
+pkgver=1.7
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')
backup=(etc/pacman-boot-backup.conf)
-depends=(ncurses)
license=('MIT')
changelog=CHANGELOG
diff --git a/pacman-boot-backup-hook.install b/pacman-boot-backup-hook.install
deleted file mode 100644
index a8a0bd946b10..000000000000
--- a/pacman-boot-backup-hook.install
+++ /dev/null
@@ -1,20 +0,0 @@
-all_off="$(tput sgr0)"
-bold="${all_off}$(tput bold)"
-blue="${bold}$(tput setaf 4)"
-yellow="${bold}$(tput setaf 3)"
-
-msg() {
- printf "${blue}==>${bold} $1${all_off}\n"
-}
-
-warning() {
- printf "${blue}==>${yellow} WARNING$2:${bold} $1${all_off}\n"
-}
-
-post_upgrade() {
- 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!"
- fi
-}