summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7756fce4c604..0869700a927d 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 89e319920a21..92e0dcaf5505 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