|
|
@@ -153,7 +153,7 @@ PreReq: git
|
|
|
echo "you should configure it by visiting:"
|
|
|
echo " http://localhost:3000/"
|
|
|
) | %{l_rpmtool} msg -b -t notice
|
|
|
- elif [ $1 -eq 2 ] || exit 0
|
|
|
+ elif [ $1 -eq 2 ]; then
|
|
|
eval `%{l_rc} gogs status 2>/dev/null`
|
|
|
[ ".$gogs_active" = .yes ] && %{l_rc} gogs restart
|
|
|
fi
|