From 5cd94de59d6afb3bbefd23761463a568064ac2c8 Mon Sep 17 00:00:00 2001 From: Antonin Dach Date: Sun, 4 Apr 2021 23:25:22 +0200 Subject: [PATCH] post upgrade hook --- .SRCINFO | 3 +-- PKGBUILD | 3 +-- librewolf-cfg-comment-out-values.hook | 2 +- librewolf-comment-out-cfg-hook.install | 7 ------- 4 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 librewolf-comment-out-cfg-hook.install diff --git a/.SRCINFO b/.SRCINFO index 51474f9..ba707fc 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,9 +1,8 @@ pkgbase = librewolf-comment-out-cfg-hook pkgdesc = Comment out custom cfg values via pacman hook pkgver = 1 - pkgrel = 2 + pkgrel = 3 url = https://git.sr.ht/~freed00m/librewolf-comment-out-cfg-hook - install = librewolf-comment-out-cfg-hook.install arch = x86_64 arch = aarch64 license = MIT diff --git a/PKGBUILD b/PKGBUILD index ae03393..7a1162b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,12 +2,11 @@ pkgname=librewolf-comment-out-cfg-hook pkgver=1 -pkgrel=2 +pkgrel=3 pkgdesc='Comment out custom cfg values via pacman hook' arch=(x86_64 aarch64) url='https://git.sr.ht/~freed00m/librewolf-comment-out-cfg-hook' license=('MIT') -install="${pkgname}.install" depends=(librewolf) package() { diff --git a/librewolf-cfg-comment-out-values.hook b/librewolf-cfg-comment-out-values.hook index c706863..54a1d00 100644 --- a/librewolf-cfg-comment-out-values.hook +++ b/librewolf-cfg-comment-out-values.hook @@ -2,7 +2,7 @@ Type = Package Operation = Install Operation = Upgrade -Target = personal-privacy-and-security +Target = librewolf-comment-out-cfg-hook Target = librewolf [Action] diff --git a/librewolf-comment-out-cfg-hook.install b/librewolf-comment-out-cfg-hook.install deleted file mode 100644 index 209576e..0000000 --- a/librewolf-comment-out-cfg-hook.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - /usr/share/libalpm/scripts/librewolf-cfg-comment-out-values.sh -} - -#post_upgrade() { -# post_install -#} -- 2.45.2