This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/data/dpkg/nymea-upgrade-helper

12 lines
245 B
Plaintext
Executable File

#!/bin/sh
if grep -q nymea
then
systemctl status nymead > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "A nymea package will be changed. Scheduling nymead restart after upgrade."
touch /tmp/nymea-restart-pending
fi
fi