Move pinephone specific workflows in its own folder
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user