Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions envycontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,8 @@ def rebuild_initramfs():
# RHEL and SUSE derivatives
elif os.path.exists('/etc/redhat-release') or os.path.exists('/usr/bin/zypper'):
command = ['dracut', '--force', '--regenerate-all']
# EndeavourOS with dracut
elif os.path.exists('/usr/lib/endeavouros-release') and os.path.exists('/usr/bin/dracut'):
# EndeavourOS and Garuda with dracut
elif (os.path.exists('/usr/lib/endeavouros-release') or os.path.exists('/usr/lib/garuda')) and os.path.exists('/usr/bin/dracut'):
command = ['dracut-rebuild']
# ALT Linux
elif os.path.exists('/etc/altlinux-release'):
Expand Down