Skip to content

Commit

Permalink
show dependency checking
Browse files Browse the repository at this point in the history
  • Loading branch information
SK1Y101 authored Oct 11, 2023
1 parent b4d4c1e commit 415f3a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
define check_packages_deps
@if [ $(shell lsb_release -sr|cut -d. -f1) -ge 22 ];then \
dpkg -s libnbd-bin nbdkit packer fuse2fs $(1) > /dev/null; \
dpkg -s libnbd-bin nbdkit packer fuse2fs $(1); \
else \
dpkg -s libnbd0 nbdkit packer fuse2fs $(2)> /dev/null; \
dpkg -s libnbd0 nbdkit packer fuse2fs $(2); \
fi
endef

0 comments on commit 415f3a3

Please sign in to comment.