mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-02 04:07:48 -05:00
* Build based on new OpenRGB docker image (Debian Stretch) * Adapting AppImage build scripts to new docker image * Changing postinstall script to avoid error + Adding test stage keyword + Adding needs keyword + Debian 10 Buster 32bit & 64bit + Debian 11 Bullseye 32bit & 64bit + Fedora 34 v34 64bit only + Ubuntu 18.04LTS Bionic 32bit & 64bit + Ubuntu 20.04LTS Focal 64bit only + Ubuntu 20.10 Groovy 64bit only + Mint 20.1 Ulyssa 32bit & 64bit Amended to leave Bullseye builds in place by Adam Honse <calcprogrammer1@gmail.com>
19 lines
619 B
Bash
19 lines
619 B
Bash
#!/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 || echo "done"
|
|
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
|