mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-14 05:37:59 +00:00
16 lines
347 B
Bash
16 lines
347 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
#DEBHELPER#
|
|
|
|
#only enable on installation not upgrade
|
|
if [ "$1" = configure ] && [ -z "$2" ]; then
|
|
if [ -f /etc/fwupd/daemon.conf ]; then
|
|
if [ "$CI" = "true" ]; then
|
|
sed "s,^BlacklistPlugins=test,BlacklistPlugins=," -i /etc/fwupd/daemon.conf
|
|
else
|
|
echo "To enable test suite, modify /etc/fwupd/daemon.conf"
|
|
fi
|
|
fi
|
|
fi
|