Skip to content

Cask: Calling postflight is deprecated #7

Closed

Description

@pmer

The postflight command seems to be now deprecated by Homebrew:

$ brew install --cask lstk
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the localstack/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/localstack/homebrew-tap/Casks/lstk.rb:39

==> Would install 1 cask:
localstack/tap/lstk
==> Fetching downloads for: localstack/tap/lstk
✔︎ Cask lstk (1.0.0)                                                     Downloaded    7.8MB/  7.8MB
==> Installing Cask lstk
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the localstack/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/localstack/homebrew-tap/Casks/lstk.rb:39

==> Linking Binary 'lstk' to '/opt/homebrew/bin/lstk'
==> Linking Bash Completion 'lstk.bash' to '/opt/homebrew/etc/bash_completion.d/lstk'
==> Linking Fish Completion 'lstk.fish' to '/opt/homebrew/share/fish/vendor_completions.d/lstk.fish'
==> Linking Zsh Completion 'lstk.zsh' to '/opt/homebrew/share/zsh/site-functions/_lstk'
🍺  lstk was successfully installed!
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the localstack/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/localstack/homebrew-tap/Casks/lstk.rb:39

Activity

  1. joe4dev commented on Sep 22, 2026

    @joe4dev
    Member

    Thank you for reporting @pmer

    Reproducer Image

    I can confirm the issue is now fixed (no more deprecation warning) after merging #8

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions