Commit e192ed9e authored by Andrew Branson's avatar Andrew Branson

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

parent 440090f0
...@@ -201,16 +201,7 @@ if [ "$1" == 0 ]; then ...@@ -201,16 +201,7 @@ if [ "$1" == 0 ]; then
getent group ssu >/dev/null && groupdel ssu getent group ssu >/dev/null && groupdel ssu
fi fi
# Removing autogenerated droplets can be dropped eventually
# Just needed for a transition period
%post %post
/sbin/ldconfig /sbin/ldconfig
if [ -f /usr/share/ssu/board-mappings.ini ]; then # make sure an old ssud isn't still running
rm -f /usr/share/ssu/board-mappings.ini killall ssud
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
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