From 87fc14a46c8e96ff3cc8de42fdddef6a5bba7fb4 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Fri, 31 May 2024 13:10:49 -0600 Subject: [PATCH] Reload udev on uninstall of toltec-boostrap (#690) This is to ensure that a toltecctl uninstall properly resets to previous reset without a reboot --- package/toltec-bootstrap/package | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/toltec-bootstrap/package b/package/toltec-bootstrap/package index 92811cad9..5edac385b 100644 --- a/package/toltec-bootstrap/package +++ b/package/toltec-bootstrap/package @@ -5,7 +5,7 @@ pkgnames=(toltec-bootstrap) pkgdesc="Manage your Toltec install" url=https://toltec-dev.org/ -pkgver=0.4.3-1 +pkgver=0.4.3-2 timestamp=2024-05-30T20:02Z section="utils" maintainer="Eeems " @@ -64,3 +64,8 @@ configure() { echo fi } + +postremove() { + # Reload rules without the input udev rule + udevadm control --reload-rules && udevadm trigger +}