Skip to content

Commit 9339d40

Browse files
committed
udev dir check
1 parent afcbe37 commit 9339d40

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build-debian.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ install_udev_rules() {
284284
local target="${UDEV_DIR}/${rules_file}"
285285
286286
[[ ! -f "${source}" ]] && return 0
287+
[[ ! -d "${UDEV_DIR}" ]] && return 0
287288
288289
if [[ -f "${target}" ]]; then
289290
if command -v md5sum &>/dev/null; then

0 commit comments

Comments
 (0)