mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
commit f83207848fafa302d6385f4814386c433aeb9686 Author: Oleg Kalachev <okalachev@gmail.com> Date: Wed Jun 23 17:35:01 2021 +0300 Make gitbook installation script
10 lines
347 B
Bash
Executable File
10 lines
347 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# GitBook CLI is deprecated, its installation is broken.
|
|
# This script fixes it until we stop using GitBook.
|
|
|
|
export NPM_CONFIG_UNSAFE_PERM=1
|
|
|
|
npm install gitbook-cli -g
|
|
gitbook fetch 3.2.3 && npm i npm@3.10.10 --prefix=~/.gitbook/versions/3.2.3/ # fixing https://travis-ci.org/github/CopterExpress/clover/jobs/766541125#L932
|