Move pinephone specific workflows in its own folder

This commit is contained in:
Stacy Harper
2022-02-10 13:13:26 +01:00
parent 92c258f990
commit 9af2fd3fa2
4 changed files with 1 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ _sxmo_load_environments() {
if [ -e /sys/firmware/devicetree/base/compatible ]; then if [ -e /sys/firmware/devicetree/base/compatible ]; then
device="$(cut -d ',' -f 2 < /sys/firmware/devicetree/base/compatible | tr -d '\0')" device="$(cut -d ',' -f 2 < /sys/firmware/devicetree/base/compatible | tr -d '\0')"
export PATH="$XDG_CONFIG_HOME/sxmo/hooks/$device/:/usr/share/sxmo/default_hooks/$device/:$PATH"
deviceprofile="$(which "sxmo_deviceprofile_$device.sh")" deviceprofile="$(which "sxmo_deviceprofile_$device.sh")"
# shellcheck disable=SC1090 # shellcheck disable=SC1090
if [ -f "$deviceprofile" ]; then if [ -f "$deviceprofile" ]; then