mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
Update prep_tarball with new documentation files on the Asterisk wiki
This will now pull both a command reference for the version being prepared, as well as an Admin Guide that applies to all versions of Asterisk. (issue ASTERISK-22439) Reported by: Olle Johansson ........ Merged revisions 399351 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 399373 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 399376 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@399378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -19,11 +19,11 @@ hash unzip 2>&- || { echo >&2 "The unzip application is required but was not fou
|
|||||||
|
|
||||||
cd doc
|
cd doc
|
||||||
echo "Downloading the PDF and HTML documentation from the Asterisk wiki (this will take a minute) ..."
|
echo "Downloading the PDF and HTML documentation from the Asterisk wiki (this will take a minute) ..."
|
||||||
wget https://wiki.asterisk.org/wiki/download/attachments/19005471/Asterisk-Admin-Guide-$branch.pdf
|
wget https://wiki.asterisk.org/wiki/download/attachments/19005471/Asterisk-$branch-Reference.pdf
|
||||||
|
wget https://wiki.asterisk.org/wiki/download/attachments/19005471/Asterisk-Admin-Guide.pdf
|
||||||
wget https://wiki.asterisk.org/wiki/download/attachments/19005471/Asterisk-Admin-Guide-$branch.html.zip
|
wget https://wiki.asterisk.org/wiki/download/attachments/19005471/Asterisk-Admin-Guide-$branch.html.zip
|
||||||
echo "Extracting HTML Admin Guide"
|
echo "Extracting HTML Admin Guide"
|
||||||
unzip Asterisk-Admin-Guide-$branch.html.zip
|
unzip Asterisk-Admin-Guide-$branch.html.zip
|
||||||
mv AST/ Asterisk-Admin-Guide/
|
mv AST/ Asterisk-Admin-Guide/
|
||||||
mv Asterisk-Admin-Guide-$branch.pdf Asterisk-Admin-Guide.pdf
|
|
||||||
rm -f Asterisk-Admin-Guide-$branch.html.zip
|
rm -f Asterisk-Admin-Guide-$branch.html.zip
|
||||||
echo "Documentation downloaded. Goodbye!"
|
echo "Documentation downloaded. Goodbye!"
|
||||||
|
Reference in New Issue
Block a user