Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
c4c05fc0
Commit
c4c05fc0
authored
Apr 28, 2022
by
longpanda
Browse files
Add support for EulerOS
parent
0984f5ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
IMG/cpio/ventoy/ventoy_chain.sh
IMG/cpio/ventoy/ventoy_chain.sh
+4
-1
No files found.
IMG/cpio/ventoy/ventoy_chain.sh
View file @
c4c05fc0
...
@@ -94,6 +94,9 @@ ventoy_get_os_type() {
...
@@ -94,6 +94,9 @@ ventoy_get_os_type() {
elif
$GREP
-q
'\.fc[0-9][0-9]\.'
/proc/version
;
then
elif
$GREP
-q
'\.fc[0-9][0-9]\.'
/proc/version
;
then
echo
'rhel7'
;
return
echo
'rhel7'
;
return
elif
$GREP
-q
'euleros'
/proc/version
;
then
echo
'rhel7'
;
return
# SUSE
# SUSE
elif
$GREP
-q
'SUSE'
/proc/version
;
then
elif
$GREP
-q
'SUSE'
/proc/version
;
then
echo
'suse'
;
return
echo
'suse'
;
return
...
...
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