File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,28 @@ if [ "x${ret}" != "x0" ]; then
15
15
exit 1
16
16
fi
17
17
18
+
18
19
mkdir " ${PWD} /logs"
19
20
echo " mkdir ${PWD} /logs"
20
21
ret=$?
21
22
if [ " x${ret} " != " x0" ]; then
22
- echo " An error occurs when ln -s~/colorit /opt/colorit, please contact sparker5."
23
+ echo " An error occurs when mkdir ${PWD} /logs, please contact sparker5."
24
+ exit 1
25
+ fi
26
+
27
+ mkdir " ${PWD} /web/codes"
28
+ echo " mkdir ${PWD} /web/codes"
29
+ ret=$?
30
+ if [ " x${ret} " != " x0" ]; then
31
+ echo " An error occurs when mkdir ${PWD} /web/codes, please contact sparker5."
23
32
exit 1
24
33
fi
25
34
26
35
echo " 127.0.0.1 colorit" >> /etc/hosts
27
36
echo " echo \" 127.0.0.1 colorit\" >> /etc/hosts"
28
37
ret=$?
29
38
if [ " x${ret} " != " x0" ]; then
30
- echo " An error occurs when ln -s~/ colorit /opt/colorit , please contact sparker5."
39
+ echo " An error occurs when echo \" 127.0.0.1 colorit\" >> /etc/hosts , please contact sparker5."
31
40
exit 1
32
41
fi
33
42
You can’t perform that action at this time.
0 commit comments