fwupd/contrib/debian/fwupd.preinst

12 lines
269 B
Bash

#!/bin/sh
set -e
#DEBHELPER#
# 1.3.2 had fwupd-refresh.service and fwupd.service both claiming
# this directory, but fwupd-refresh.service used DynamicUser directive
# meaning no other unit could access it.
if [ -L /var/cache/fwupd ]; then
rm -f /var/cache/fwupd
fi