diff options
author | X3n0m0rph59 | 2021-04-20 13:16:36 +0200 |
---|---|---|
committer | X3n0m0rph59 | 2021-04-20 13:16:36 +0200 |
commit | b47304c684806aadbca50738c7eda8e6030ca6e8 (patch) | |
tree | dcca110feaffb5a29572be79fda58bce863b62c8 | |
parent | 684defa0e6345747a33e02f1502c807353ede5db (diff) | |
download | aur-b47304c684806aadbca50738c7eda8e6030ca6e8.tar.gz |
New release
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | eruption.install | 22 |
3 files changed, 26 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = eruption-git pkgdesc = Linux user-mode input and LED driver for keyboards, mice and other devices - pkgver = 0.1.20 - pkgrel = 36 + pkgver = 0.1.21 + pkgrel = 1 url = https://github.com/X3n0m0rph59/eruption install = eruption.install arch = i686 @@ -27,7 +27,7 @@ pkgbase = eruption-git backup = etc/eruption/eruption.conf backup = usr/share/eruption/scripts/lib/themes/* backup = usr/share/eruption/scripts/lib/macros/* - source = eruption::git+https://github.com/X3n0m0rph59/eruption.git#commit=4f163313280cde0914404784e26b7e60aa73084a + source = eruption::git+https://github.com/X3n0m0rph59/eruption.git#commit=8798abab1545139a4ec1985fbf0c36ca3b3d8b91 sha512sums = SKIP pkgname = eruption-git @@ -3,8 +3,8 @@ pkgname='eruption-git' _pkgname='eruption' pkgdesc='Linux user-mode input and LED driver for keyboards, mice and other devices' -pkgver=0.1.20.r3.g4f16331 -pkgrel=1 +pkgver='0.1.21' +pkgrel='1' epoch= arch=('i686' 'x86_64') url='https://github.com/X3n0m0rph59/eruption' @@ -21,7 +21,7 @@ backup=(etc/eruption/eruption.conf usr/share/eruption/scripts/lib/themes/* usr/s options=() install='eruption.install' changelog= -source=('eruption::git+https://github.com/X3n0m0rph59/eruption.git#commit=4f163313280cde0914404784e26b7e60aa73084a') +source=('eruption::git+https://github.com/X3n0m0rph59/eruption.git#commit=8798abab1545139a4ec1985fbf0c36ca3b3d8b91') noextract=() sha512sums=('SKIP') diff --git a/eruption.install b/eruption.install index 5ad7615ec613..1bd1c793bf71 100644 --- a/eruption.install +++ b/eruption.install @@ -1,20 +1,38 @@ post_install() { setcap cap_net_admin+ep /usr/bin/eruption-process-monitor - systemctl preset eruption + systemctl daemon-reload + # systemctl --global daemon-reload + systemctl reload dbus.service udevadm control --reload-rules - systemctl try-restart eruption.service || udevadm trigger -s usb + + systemctl preset eruption + systemctl preset eruption-process-monitor + + systemctl enable --now eruption.service + # systemctl --global enable --now eruption-process-monitor.service } post_upgrade() { setcap cap_net_admin+ep /usr/bin/eruption-process-monitor + + systemctl daemon-reload + # systemctl --global daemon-reload + + systemctl reload dbus.service + udevadm control --reload-rules + + systemctl try-restart eruption.service + # systemctl --global try-restart eruption-process-monitor.service } pre_remove() { + # systemctl --global stop eruption-process-monitor.service systemctl stop eruption.service } post_remove() { + udevadm control --reload-rules systemctl daemon-reload } |