summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatMoul2017-04-14 03:23:16 +0200
committerMatMoul2017-04-14 03:23:16 +0200
commit4cd0ddcc42c737f89f6c1a087b89dd57244fd183 (patch)
tree2032ff365b5ab45cfaf4e912efb71007ce883dba
parent977d18220f57aa6d0ac5d8bafedaae320ff3a236 (diff)
downloadaur-4cd0ddcc42c737f89f6c1a087b89dd57244fd183.tar.gz
New version
-rw-r--r--.SRCINFO2
-rw-r--r--g810-led-git.install7
2 files changed, 4 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7756fce4c60..0869700a927 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Sat Mar 25 00:18:53 UTC 2017
+# Fri Apr 14 01:23:16 UTC 2017
pkgbase = g810-led-git
pkgdesc = Linux led controller for Logitech G410, G610, G810 and G910 Keyboards
pkgver = 0.1.6
diff --git a/g810-led-git.install b/g810-led-git.install
index 89e319920a2..92e0dcaf550 100644
--- a/g810-led-git.install
+++ b/g810-led-git.install
@@ -5,10 +5,9 @@ pre_install() {
## arg 1: the new package version
post_install() {
+ /usr/bin/g810-led -p /etc/g810-led/profile
udevadm control --reload-rules
systemctl daemon-reload
- systemctl start g810-led
- systemctl enable g810-led
systemctl enable g810-led-reboot
}
@@ -22,15 +21,15 @@ pre_upgrade() {
## arg 2: the old package version
post_upgrade() {
udevadm control --reload-rules
+ /usr/bin/g810-led -p /etc/g810-led/profile
systemctl daemon-reload
- systemctl restart g810-led
}
## arg 1: the old package version
pre_remove() {
+ systemctl disable g810-led-reboot
systemctl stop g810-led
systemctl disable g810-led
- systemctl disable g810-led-reboot
}
## arg 1: the old package version