Skip to content

Commit

Permalink
Remove redundant install argument
Browse files Browse the repository at this point in the history
  • Loading branch information
aturneruk authored and igorpecovnik committed Dec 23, 2024
1 parent 2d437c2 commit fdf5a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/modules/system/module_armbian_firmware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function module_armbian_firmware() {
for pkg in ${packages[@]}; do
purge_pkg=$(echo $pkg | sed -e 's/linux-image.*/linux-image*/;s/linux-dtb.*/linux-dtb*/;s/linux-headers.*/linux-headers*/;s/armbian-firmware.*/armbian-firmware*/')
# if test install is succesfull, proceed
pkg_install --simulate --download-only --allow-downgrades install "${pkg}"
pkg_install --simulate --download-only --allow-downgrades "${pkg}"
if [[ $? == 0 ]]; then
pkg_remove "${purge_pkg}"
pkg_install --allow-downgrades "${pkg}"
Expand Down

0 comments on commit fdf5a93

Please sign in to comment.