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

due to a systemd issue, we had to rename initrd-release to initrd_release.
pull/2397/head
Dolphin Oracle 1 year ago committed by GitHub
parent 6d5de12f52
commit 82053680bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save