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
e869bc23
Commit
e869bc23
authored
Mar 10, 2023
by
longpanda
Browse files
Fix the issue that Fedora Rawhide install media not detected. (#2283)
parent
b47aa1ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
+7
-0
No files found.
IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
View file @
e869bc23
...
@@ -125,6 +125,13 @@ if $GREP -i -q Fedora /proc/version; then
...
@@ -125,6 +125,13 @@ if $GREP -i -q Fedora /proc/version; then
fi
fi
fi
fi
if
$GREP
-i
-q
Fedora /etc/os-release
;
then
if
$GREP
-q
'Server Edition'
/etc/os-release
;
then
vtNeedRepo
=
"yes"
fi
fi
echo
"vtNeedRepo=
$vtNeedRepo
"
>>
$VTLOG
echo
"vtNeedRepo=
$vtNeedRepo
"
>>
$VTLOG
if
[
"
$vtNeedRepo
"
=
"yes"
]
;
then
if
[
"
$vtNeedRepo
"
=
"yes"
]
;
then
...
...
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