如何修改自制公式? [英] How to modify a homebrew formula?

查看:117
本文介绍了如何修改自制公式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过自制软件安装了imagemagick。

I installed imagemagick via homebrew.

但是,由于

我如何完成这个?

推荐答案

删除现有版本。

$ brew rm imagemagick

然后要编辑公式,只需编辑它:

Then to edit the formula, just edit it:

$ brew edit imagemagick

在编辑中提出来;请确保您的 $ EDITOR 变量设置为您的首选项(对于我:TextMate)

This will bring it up in an editor; make sure your $EDITOR variable is set to your preference (for me: TextMate)

更改它, ,尝试安装它。

Change it, save it, try installing it.

如果你对git感到满意,你可能需要先创建一个分支,然后在分支中进行修改。

If you're comfortable with git, you may want to make a branch first, and do your edits in a branch.

这篇关于如何修改自制公式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆