summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2018-10-22 21:28:40 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2018-10-22 21:28:40 -0700
commitf745686250fc7859aa06723039b05a96453286aa (patch)
tree1c555ebc9889c7bc6bb61b1ad41c5c37630acd5c
parentMaintainer logic (diff)
downloadusbctl-libre-f745686250fc7859aa06723039b05a96453286aa.tar.xz
Modified pre-install/upgrade notice to only post-install
-rw-r--r--PKGBUILD8
-rw-r--r--usbctl-libre.install7
2 files changed, 6 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7fee77d..44a6cb8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@
pkgname=usbctl-libre
_pkgname=usbctl
pkgver=1.0
-pkgrel=3
+pkgrel=4
pkgdesc='Linux-libre-hardened deny_new_usb control'
url='https://github.com/anthraxx/usbctl'
arch=('any')
@@ -20,10 +20,12 @@ depends=('linux-libre-hardened' 'bash' 'usbutils' 'coreutils' 'diffutils' 'procp
#optdepends=('zsh: zsh completion support')
conflicts=('usbctl')
source=(${_pkgname}-${pkgver}.tar.gz::https://github.com/anthraxx/${_pkgname}/archive/${pkgver}/${pkgver}.tar.gz
- ${_pkgname}-${pkgver}.tar.gz.sig::https://github.com/anthraxx/usbctl/releases/download/${pkgver}/${pkgver}.tar.gz.sig)
+ ${_pkgname}-${pkgver}.tar.gz.sig::https://github.com/anthraxx/usbctl/releases/download/${pkgver}/${pkgver}.tar.gz.sig
+ ${pkgname}.install)
# 10-${pkgname}.conf)
sha512sums=('0f16297188439d10c1dcff6368ec830c4f665e05c01790383791cb207bda5667416c8f3b662173e6d7c5ffac2ef2b83593889b0e76a4a061129df5128bf2f4f6'
- 'SKIP')
+ 'SKIP'
+ '3d40a6d8e806f9883df648fd6cea7881af0e12b185211b81e2390197c71ab492b9806beb154832af9f757b4393dfae0ec3fed9377a5f42f4cb08f380d3d45653')
# 'e36a3d97daef70992c84efb633904055d94ac0bb74fc355c01defec74a63c27f097b66e19849c207b1428f353f530978e5d43c31c3d5b47bd976c2c868ac8245')
validpgpkeys=('E240B57E2C4630BA768E2F26FC1B547C8D8172C8') # Levente Polyak
diff --git a/usbctl-libre.install b/usbctl-libre.install
index b12f0d0..9547b57 100644
--- a/usbctl-libre.install
+++ b/usbctl-libre.install
@@ -1,5 +1,4 @@
-
-pre_install() {
+post_install() {
cat <<EOM
== Important ==
AFTER you configure valid devices --
@@ -8,7 +7,3 @@ pre_install() {
to your /etc/crontab
EOM
}
-
-pre_upgrade() {
- pre_install
-}