Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
c02a6955
"mmdet3d/vscode:/vscode.git/clone" did not exist on "70980ad64d25dfdd627ad1c60247ff95b38265b0"
Commit
c02a6955
authored
Jul 06, 2021
by
longpanda
Browse files
Add check for the built-in browser in WebDeepin.sh
parent
6b78603d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
INSTALL/tool/WebDeepin.sh
INSTALL/tool/WebDeepin.sh
+12
-0
No files found.
INSTALL/tool/WebDeepin.sh
View file @
c02a6955
...
@@ -3,6 +3,18 @@
...
@@ -3,6 +3,18 @@
LOGFILE
=
log.txt
LOGFILE
=
log.txt
VUSER
=
$(
get_user
)
VUSER
=
$(
get_user
)
if
which browser
>
/dev/null 2>&1
;
then
:
else
if
[
"
$LANG
"
=
"zh_CN.UTF-8"
]
;
then
echo
" Built-in browser not found in the system, please use VentoyWeb.sh ..."
else
echo
" 未找到系统内置的 browser (卸载了?)请使用 VentoyWeb.sh ..."
fi
exit
1
fi
if
[
-e
$LOGFILE
]
;
then
if
[
-e
$LOGFILE
]
;
then
chown
$VUSER
$LOGFILE
chown
$VUSER
$LOGFILE
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment