Build Debian packages with CI
This commit is contained in:
parent
43fccf259f
commit
6ec7901038
6 changed files with 82 additions and 8 deletions
17
debian/openrgb.postinst
vendored
Normal file
17
debian/openrgb.postinst
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
# -e is not set should this step fail for whatever reason the installation is still valid
|
||||
set -u -o pipefail
|
||||
|
||||
# Reload rules
|
||||
if [ -f /bin/udevadm ]; then
|
||||
udevadm control --reload-rules && udevadm trigger;
|
||||
else
|
||||
echo
|
||||
echo "\/-------------------------------------------------------\\"
|
||||
echo "\| Critical: This system does not have udev installed. \|"
|
||||
echo "\| \|"
|
||||
echo "\| Please install udev with: sudo apt -y install udev \|"
|
||||
echo "\\-------------------------------------------------------\/"
|
||||
echo
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue