Skip to content

Commit

Permalink
Only require modinfo if using OverlayFS. Issue graysky2#344
Browse files Browse the repository at this point in the history
  • Loading branch information
morgant committed Jan 1, 2023
1 parent 0184623 commit b8800dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/profile-sync-daemon.in
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ dep_check() {
echo -e " ${BLD}I require rsync but it's not installed. ${RED}Aborting!${NRM}"
exit 1
fi
if ! command -v modinfo >/dev/null 2>&1; then
if [[ $OLFS -eq 1 ]] && ! command -v modinfo >/dev/null 2>&1; then
echo -e " ${BLD}I require modinfo but it's not installed. ${RED}Aborting!${NRM}" >&2
exit 1
fi
Expand Down

0 comments on commit b8800dc

Please sign in to comment.