File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 9898 # fix pandoc version to 3.1.6 until https://github.com/jupyter/nbconvert/issues/2164 fixed
9999 run : |
100100 brew update
101- brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/74b7e35f40e3347bc0719622a1fd59fd4a5352a9/Formula/pandoc.rb
101+ # Please define variables
102+ export packageName=pandoc
103+ export packageVersion=3.1.6.1
104+ # Create a new tab
105+ brew tap-new local/$packageName
106+
107+ # Extract into local tap
108+ brew extract --version=$packageVersion $packageName local/$packageName
109+
110+ # Verify packages is present
111+ brew search $packageName@
112+
113+ # Run brew install@version as usual
114+ brew install local/$packageName/$packageName@$packageVersion
102115 ln -s -f $(which python3) /usr/local/bin/python
103116 ln -s -f $(which pip3) /usr/local/bin/pip
104117
You can’t perform that action at this time.
0 commit comments