Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'jb47859' into 'master'
[repos] Kill ssud if it's running during upgrade. Fixes JB#47252

See merge request mer-core/ssu!36
  • Loading branch information
Andrew Branson committed Oct 25, 2019
2 parents 440090f + e192ed9 commit 27af65c
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 27af65c

Please sign in to comment.