mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-22 10:51:01 +00:00

Red Hat wants to drive an initiative in correcting problematic and potentially divisive language in open source projects. These naming conventions and descriptive phrases are hurtful and offensive to many of our colleagues across the open source universe. See https://www.redhat.com/en/blog/making-open-source-more-inclusive-eradicating-problematic-language
24 lines
594 B
Bash
24 lines
594 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,^DisabledPlugins=test;invalid,DisabledPlugins=," -i /etc/fwupd/daemon.conf
|
|
else
|
|
echo "To enable test suite, modify /etc/fwupd/daemon.conf"
|
|
fi
|
|
fi
|
|
if [ -f /etc/fwupd/remotes.d/fwupd-tests.conf ]; then
|
|
if [ "$CI" = "true" ]; then
|
|
sed "s,^Enabled=false,Enabled=true," -i /etc/fwupd/remotes.d/fwupd-tests.conf
|
|
else
|
|
echo "To enable test suite, enable fwupd-tests remote"
|
|
fi
|
|
|
|
fi
|
|
fi
|