parent
63734b923a
commit
4adaf5a2d0
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
||||||
RELEASE=1.0.0
|
RELEASE=1.5.0
|
||||||
FILENAME=parsedown-$RELEASE
|
PARSEDOWN=parsedown-$RELEASE
|
||||||
DESTINATION=.
|
curl https://codeload.github.com/erusev/parsedown/tar.gz/${RELEASE} -o ${PARSEDOWN}.tar.gz
|
||||||
wget -O ${FILENAME}.tar.gz https://github.com/erusev/parsedown/archive/${RELEASE}.tar.gz
|
tar xfz ${PARSEDOWN}.tar.gz --strip-components 1 ${PARSEDOWN}/Parsedown.php ${PARSEDOWN}/LICENSE.txt
|
||||||
tar xfz ${FILENAME}.tar.gz -C $DESTINATION/ --strip-components 1 $FILENAME/Parsedown.php $FILENAME/LICENSE.txt
|
chmod 0644 Parsedown.php
|
||||||
chmod 644 $DESTINATION/Parsedown.php
|
|
||||||
mv LICENSE.txt LICENSE
|
mv LICENSE.txt LICENSE
|
||||||
|
rm ${PARSEDOWN}.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue