mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 01:41:56 +00:00

This means that if someone wants to use the test inteface with packages, no hacky launching needed. Just:
8 lines
281 B
Bash
8 lines
281 B
Bash
#!/bin/sh
|
|
|
|
if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then
|
|
dpkg-divert --package fwupd-tests --add --rename \
|
|
--divert /usr/share/dbus-1/system-services/org.freedesktop.fwupd.service.original \
|
|
/usr/share/dbus-1/system-services/org.freedesktop.fwupd.service
|
|
fi
|