We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f7108eb + b880006 commit d58e833Copy full SHA for d58e833
pkg/cidata/cidata.TEMPLATE.d/boot/30-install-packages.sh
@@ -34,7 +34,7 @@ if [ "${LIMA_CIDATA_SKIP_DEFAULT_DEPENDENCY_RESOLUTION}" = 1 ]; then
34
exit 0
35
fi
36
37
-if hexdump -C -n 4 "$(command -v apt-get)" | grep -qF 'ELF' >/dev/null 2>&1; then
+if head -c 4 "$(command -v apt-get)" | grep -qP '\x7fELF' >/dev/null 2>&1; then
38
pkgs=""
39
if [ "${LIMA_CIDATA_MOUNTTYPE}" = "reverse-sshfs" ]; then
40
if [ "${LIMA_CIDATA_MOUNTS}" -gt 0 ] && ! command -v sshfs >/dev/null 2>&1; then
0 commit comments