Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pull/341'
Browse files Browse the repository at this point in the history
* origin/pull/341:
  91-sbctl.install: Unconditionally remove file from database
  • Loading branch information
Foxboron committed Aug 2, 2024
2 parents 48a3109 + 884d848 commit 625d396
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions contrib/kernel-install/91-sbctl.install
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ add)
sbctl sign "$IMAGE_FILE" 1>/dev/null
;;
remove)
if [ -e "$IMAGE_FILE" ]; then
[ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] &&
printf 'sbctl: Removing kernel %s from signing database\n' "$IMAGE_FILE"
sbctl remove-file "$IMAGE_FILE" 1>/dev/null
fi
[ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] &&
printf 'sbctl: Removing kernel %s from signing database\n' "$IMAGE_FILE"
sbctl remove-file "$IMAGE_FILE" 1>/dev/null || :
;;
esac

0 comments on commit 625d396

Please sign in to comment.