From 395e25143fa98f06b39c52609b6aef35f4ef8c99 Mon Sep 17 00:00:00 2001 From: ZHANG Yuntian <95260730+RadxaYuntian@users.noreply.github.com> Date: Wed, 11 Oct 2023 10:20:53 +0800 Subject: [PATCH] Install package via apt to trigger plugins --- lib/sub_commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sub_commands.sh b/lib/sub_commands.sh index 5fdbb5b1..502c433d 100644 --- a/lib/sub_commands.sh +++ b/lib/sub_commands.sh @@ -54,7 +54,7 @@ _install() { case "$ext" in deb) sudo cp "$file" /mnt - sudo systemd-nspawn -D /mnt dpkg -i "/$(basename "$file")" + sudo systemd-nspawn -D /mnt apt-get install -y --allow-downgrades --reinstall "/$(basename "$file")" ;; dtbo) sudo cp "$file" /mnt/boot/dtbo