diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/linux-rpi/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/linux-rpi/APKBUILD b/main/linux-rpi/APKBUILD index cd51dd2f42..68886c7c51 100644 --- a/main/linux-rpi/APKBUILD +++ b/main/linux-rpi/APKBUILD @@ -193,8 +193,11 @@ _package() { install -D include/config/kernel.release \ "$_outdir"/usr/share/kernel/$_buildflavor/kernel.release - [ "$CARCH" = "aarch64" ] && mv "$INSTALL_DTBS_PATH"/broadcom/*.dtb \ - "$INSTALL_DTBS_PATH" && rmdir "$INSTALL_DTBS_PATH"/broadcom + if [ "$CARCH" = "aarch64" ]; then + mv -f "$INSTALL_DTBS_PATH"/broadcom/*.dtb \ + "$INSTALL_DTBS_PATH" + rmdir "$INSTALL_DTBS_PATH"/broadcom + fi } # main flavor installs in $pkgdir |