You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 5, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: server/mq-license-check.sh
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -16,32 +16,32 @@
16
16
# limitations under the License.
17
17
18
18
if [ "$LICENSE"="accept" ];then
19
-
exit 0
19
+
exit 0
20
20
elif [ "$LICENSE"="view" ];then
21
-
case"$LANG"in
22
-
zh_TW*) LICENSE_FILE=Chinese_TW.txt ;;
23
-
zh*) LICENSE_FILE=Chinese.txt ;;
24
-
cs*) LICENSE_FILE=Czech.txt ;;
25
-
en*) LICENSE_FILE=English.txt ;;
26
-
fr*) LICENSE_FILE=French.txt ;;
27
-
de*) LICENSE_FILE=German.txt ;;
28
-
el*) LICENSE_FILE=Greek.txt ;;
29
-
id*) LICENSE_FILE=Indonesian.txt ;;
30
-
it*) LICENSE_FILE=Italian.txt ;;
31
-
ja*) LICENSE_FILE=Japanese.txt ;;
32
-
ko*) LICENSE_FILE=Korean.txt ;;
33
-
lt*) LICENSE_FILE=Lithuanian.txt ;;
34
-
pl*) LICENSE_FILE=Polish.txt ;;
35
-
pt*) LICENSE_FILE=Portuguese.txt ;;
36
-
ru*) LICENSE_FILE=Russian.txt ;;
37
-
sl*) LICENSE_FILE=Slovenian.txt ;;
38
-
es*) LICENSE_FILE=Spanish.txt ;;
39
-
tr*) LICENSE_FILE=Turkish.txt ;;
40
-
*) LICENSE_FILE=English.txt ;;
41
-
esac
42
-
cat /opt/mqm/licenses/$LICENSE_FILE
43
-
exit 1
21
+
case"$LANG"in
22
+
zh_TW*) LICENSE_FILE=Chinese_TW.txt ;;
23
+
zh*) LICENSE_FILE=Chinese.txt ;;
24
+
cs*) LICENSE_FILE=Czech.txt ;;
25
+
en*) LICENSE_FILE=English.txt ;;
26
+
fr*) LICENSE_FILE=French.txt ;;
27
+
de*) LICENSE_FILE=German.txt ;;
28
+
el*) LICENSE_FILE=Greek.txt ;;
29
+
id*) LICENSE_FILE=Indonesian.txt ;;
30
+
it*) LICENSE_FILE=Italian.txt ;;
31
+
ja*) LICENSE_FILE=Japanese.txt ;;
32
+
ko*) LICENSE_FILE=Korean.txt ;;
33
+
lt*) LICENSE_FILE=Lithuanian.txt ;;
34
+
pl*) LICENSE_FILE=Polish.txt ;;
35
+
pt*) LICENSE_FILE=Portuguese.txt ;;
36
+
ru*) LICENSE_FILE=Russian.txt ;;
37
+
sl*) LICENSE_FILE=Slovenian.txt ;;
38
+
es*) LICENSE_FILE=Spanish.txt ;;
39
+
tr*) LICENSE_FILE=Turkish.txt ;;
40
+
*) LICENSE_FILE=English.txt ;;
41
+
esac
42
+
cat /opt/mqm/licenses/$LICENSE_FILE
43
+
exit 1
44
44
else
45
-
echo -e "Set environment variable LICENSE=accept to indicate acceptance of license terms and conditions.\n\nLicense agreements and information can be viewed by running this image with the environment variable LICENSE=view. You can also set the LANG environment variable to view the license in a different language."
46
-
exit 1
45
+
echo -e "Set environment variable LICENSE=accept to indicate acceptance of license terms and conditions.\n\nLicense agreements and information can be viewed by running this image with the environment variable LICENSE=view. You can also set the LANG environment variable to view the license in a different language."
0 commit comments