From 92092c07b83220bdb9b9cdd9141c9479d469160e Mon Sep 17 00:00:00 2001 From: Milan Misic Date: Wed, 25 Mar 2026 22:31:09 +0100 Subject: Actually bump the version everywhere this time, minor postinst fixes --- DEBIAN/control | 2 +- DEBIAN/postinst | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'DEBIAN') diff --git a/DEBIAN/control b/DEBIAN/control index e78517a..eddd8aa 100644 --- a/DEBIAN/control +++ b/DEBIAN/control @@ -1,5 +1,5 @@ Package: st-lsm6dsx-shift13mi -Version: 1.0-1 +Version: 1.1-1 Architecture: amd64 Maintainer: Milan Misic Depends: dkms, linux-headers-generic, iio-sensor-proxy, mokutil diff --git a/DEBIAN/postinst b/DEBIAN/postinst index ebcfc9f..cb2ba68 100755 --- a/DEBIAN/postinst +++ b/DEBIAN/postinst @@ -4,9 +4,9 @@ set -e lang=$(locale | grep LANG | cut -d= -f2 | cut -d_ -f1) # Install the module with dkms -dkms add st-lsm6dsx-shift13mi/0.1 || true -dkms build st-lsm6dsx-shift13mi/0.1 || true -dkms install st-lsm6dsx-shift13mi/0.1 || true +dkms add st-lsm6dsx-shift13mi/1.1 || true +dkms build st-lsm6dsx-shift13mi/1.1 || true +dkms install st-lsm6dsx-shift13mi/1.1 || true # Unload the old module and reload the new module modprobe -r st_lsm6dsx_i2c || true @@ -15,7 +15,7 @@ modprobe st_lsm6dsx_i2c || true # Reload udev and hwdb systemd-hwdb update udevadm trigger -systemctl restart iio-sensor-proxy +systemctl restart iio-sensor-proxy || true if mokutil --sb-state 2>/dev/null | grep -q "SecureBoot enabled"; then -- cgit v1.2.3