[java-sig-commits] [jetty] Comment on removing jetty user during upgrade
Nicolas Chauvet
kwizart at gmail.com
Mon Apr 23 13:12:14 UTC 2012
2012/4/23 Mikolaj Izdebski <mizdebsk at fedoraproject.org>:
> @@ -366,6 +366,8 @@ if [ $1 -ge 1 ] ; then
> # Package upgrade, not uninstall
> /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
> fi
> +# Remove the user even during upgrade, it will be added later in %post.
> +# This is required to force incorrect UID to be replaced with the new one.
> %__fe_userdel %username &>/dev/null || :
> %__fe_groupdel %username &>/dev/null || :
Hello,
This seems spurious as we have receipe to check if we are actually
un-installing:
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax
Thx for having fixed the return codes of the jetty initscript. ;)
Nicolas (kwizart)
More information about the java-sig-commits
mailing list