mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 19:48:47 +00:00

Install the policykit rules and actions into the host system. If switched to a devmode snap this should be reverted.
10 lines
253 B
Bash
Executable File
10 lines
253 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
install_if_missing() {
|
|
install -C ${SNAP}/${1} /usr/${1}
|
|
}
|
|
|
|
#install policykit rules and actions
|
|
install_if_missing share/polkit-1/actions/org.freedesktop.fwupd.policy
|
|
install_if_missing share/polkit-1/rules.d/org.freedesktop.fwupd.rules
|