mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-27 04:20:06 +00:00
Fix nodesource.list creation
This commit is contained in:
parent
f77b00e1f7
commit
595845153d
@ -17,8 +17,8 @@ if build == 'Doc':
|
||||
travis = 'TRAVIS' in os.environ
|
||||
# Install dependencies.
|
||||
if travis:
|
||||
with open('/etc/apt/sources.list.d/nodesource.list', 'a') as f:
|
||||
f.write('deb http://deb.nodesource.com/node_0.10 precise main\n')
|
||||
check_call("echo 'deb https://deb.nodesource.com/node_0.10 precise main' | " +
|
||||
"sudo tee /etc/apt/sources.list.d/nodesource.list", shell=True)
|
||||
check_call(['sudo', 'apt-get', 'update'])
|
||||
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'doxygen', 'nodejs'])
|
||||
check_call(['npm', 'install', '-g', 'less'])
|
||||
|
Loading…
Reference in New Issue
Block a user