Skip to content

Commit

Permalink
Reload udev on uninstall of toltec-boostrap (#690)
Browse files Browse the repository at this point in the history
This is to ensure that a toltecctl uninstall properly resets to previous reset without a reboot
  • Loading branch information
Eeems committed Jun 2, 2024
1 parent 869cb61 commit 87fc14a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package/toltec-bootstrap/package
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
Expand Down Expand Up @@ -64,3 +64,8 @@ configure() {
echo
fi
}

postremove() {
# Reload rules without the input udev rule
udevadm control --reload-rules && udevadm trigger
}

0 comments on commit 87fc14a

Please sign in to comment.