it's versionned, no need to be so cautious
This commit is contained in:
parent
b234d94fdf
commit
a738211f50
1 changed files with 2 additions and 2 deletions
|
@ -19,12 +19,12 @@ PREFIX=/usr
|
|||
rm -fr $PKG
|
||||
|
||||
# get sources
|
||||
[ -e $CWD/essentialjsdesignpatterns$VERSION.zip ] && mv $CWD/essentialjsdesignpatterns$VERSION.zip $CWD/essentialjsdesignpatterns$VERSION.zip.bkp
|
||||
wget -c http://www.addyosmani.com/resources/essentialjsdesignpatterns/book/essentialjsdesignpatterns$VERSION.zip -O $CWD/essentialjsdesignpatterns$VERSION.zip
|
||||
[ ! -e $CWD/essentialjsdesignpatterns$VERSION.zip ] && wget -c http://www.addyosmani.com/resources/essentialjsdesignpatterns/book/essentialjsdesignpatterns$VERSION.zip -O $CWD/essentialjsdesignpatterns$VERSION.zip
|
||||
|
||||
mkdir -p $PKG$PREFIX/doc/$PRGNAM
|
||||
unzip $CWD/essentialjsdesignpatterns$VERSION.zip -d $PKG$PREFIX/doc/$PRGNAM
|
||||
rm -fr $PKG$PREFIX/doc/$PRGNAM/__MACOSX
|
||||
find $PKG$PREFIX/doc/$PRGNAM/ -name .DS_Store -delete
|
||||
|
||||
cd $PKG
|
||||
mkdir -p install
|
||||
|
|
Loading…
Reference in a new issue