ソースを参照

fix shell script

Ralf S. Engelschall 10 年 前
コミット
bab3082d9b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      gogs/gogs.spec

+ 1 - 1
gogs/gogs.spec

@@ -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