Skip to content

Commit

Permalink
Update EndeavourOS support (#91)
Browse files Browse the repository at this point in the history
* Update EndeavourOS support

* Make EndeavourOS support dracut-only
  • Loading branch information
dalto8 authored Mar 14, 2023
1 parent e6b9f98 commit de8c579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envycontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def rebuild_initramfs():
command = ['dracut', '--force', '--regenerate-all']
# EndeavourOS with dracut
elif os.path.exists('/usr/lib/endeavouros-release') and os.path.exists('/usr/bin/dracut'):
command = ['dracut', '--force', '--regenerate-all']
command = ['dracut-rebuild']
else:
command = []

Expand Down

0 comments on commit de8c579

Please sign in to comment.