You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
270 B
8 lines
270 B
5 years ago
|
#!/bin/sh
|
||
|
|
||
|
version=$(rpm -q --specfile --qf='%{version}\n' nodejs-yarn.spec | head -n1)
|
||
|
wget https://github.com/yarnpkg/yarn/archive/v$version.tar.gz
|
||
|
tar -zxf v$version.tar.gz
|
||
|
cd yarn-$version
|
||
|
npm install && cd .. && tar -zcf yarn-v$version-bundled.tar.gz yarn-$version
|