Unverified Commit 82053680 authored by Dolphin Oracle's avatar Dolphin Oracle Committed by GitHub
Browse files

Update ventoy-hook.sh for MX Linux (#2390)

due to a systemd issue, we had to rename initrd-release to initrd_release.
parent 6d5de12f
......@@ -26,6 +26,10 @@ ventoy_get_debian_distro() {
if $EGREP -q "ID=.*antix|ID=.*mx" /etc/initrd-release; then
echo 'antix'; return
fi
elif [ -e /etc/initrd_release ]; then
if $EGREP -q "ID=.*antix|ID=.*mx" /etc/initrd_release; then
echo 'antix'; return
fi
fi
if [ -e /DISTRO_SPECS ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment