mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-09 06:07:50 +00:00

This causes problems in the self tests when not lazy-loading symbols. Also use g_build_filename() for the paths to be more portable and readable.
15 lines
313 B
Bash
15 lines
313 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
#DEBHELPER#
|
|
|
|
if [ "$1" = remove -o "$1" = purge ]; then
|
|
if [ -f /etc/fwupd/daemon.conf ]; then
|
|
if [ "$CI" = "true" ]; then
|
|
sed "s,^BlacklistPlugins=,BlacklistPlugins=test;invalid," -i /etc/fwupd/daemon.conf
|
|
else
|
|
echo "To disable test suite, modify /etc/fwupd/daemon.conf"
|
|
fi
|
|
fi
|
|
fi
|