Skip to content

Commit

Permalink
fix(Capability Map): reverse load order to override capability map
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowApex committed Sep 27, 2024
1 parent 1eff257 commit 20bca3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ pub fn get_devices_paths() -> Vec<PathBuf> {
/// E.g. ["/etc/inputplumber/capability_maps.d", "/usr/share/inputplumber/capability_maps"]
pub fn get_capability_maps_paths() -> Vec<PathBuf> {
let paths = vec![
PathBuf::from("./rootfs/usr/share/inputplumber/capability_maps"),
PathBuf::from("/etc/inputplumber/capability_maps.d"),
get_base_path().join("capability_maps"),
PathBuf::from("/etc/inputplumber/capability_maps.d"),
PathBuf::from("./rootfs/usr/share/inputplumber/capability_maps"),
];

paths
Expand Down

0 comments on commit 20bca3c

Please sign in to comment.