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