Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[repos] Kill ssud if it's running during upgrade. Fixes JB#47252
  • Loading branch information
Andrew Branson committed Oct 24, 2019
1 parent 440090f commit e192ed9
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions rpm/ssu.spec
Expand Up @@ -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

0 comments on commit e192ed9

Please sign in to comment.