Commit 27af65c0 authored by Andrew Branson's avatar Andrew Branson

Merge branch 'jb47859' into 'master'

[repos] Kill ssud if it's running during upgrade. Fixes JB#47252

See merge request !36
parents 440090f0 e192ed9e
......@@ -201,16 +201,7 @@ if [ "$1" == 0 ]; then
getent group ssu >/dev/null && groupdel ssu
fi
# Removing autogenerated droplets can be dropped eventually
# Just needed for a transition period
%post
/sbin/ldconfig
if [ -f /usr/share/ssu/board-mappings.ini ]; then
rm -f /usr/share/ssu/board-mappings.ini
fi
if [ -f /usr/share/ssu/features.ini ]; then
rm -f /usr/share/ssu/features.ini
fi
if [ -f /usr/share/ssu/repos.ini ]; then
rm -f /usr/share/ssu/repos.ini
fi
# make sure an old ssud isn't still running
killall ssud
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment