Skip to content

Commit

Permalink
Merge pull request #544 from dwhjames/fix/issue-529
Browse files Browse the repository at this point in the history
fix for issue #529
  • Loading branch information
muuki88 committed Apr 6, 2015
2 parents a339e53 + 155d126 commit f0c2540
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ${{control-functions}}

# Scriptlet syntax: http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Syntax
# $1 == 1 is upgrade and $1 == 0 is uninstall
if [[ $1 == 0 ]]
if [ $1 -eq 0 ] ;
then
echo "Try deleting system user and group [${{daemon_user}}:${{daemon_group}}]"
if getent passwd | grep -q "^${{daemon_user}}:";
Expand Down

0 comments on commit f0c2540

Please sign in to comment.