When we have provided a download file URL in their metadata. We can use drush lbl <library_name> to download library directly to libraries folder, but when it got downloaded it will extract and placing a folder with version number.

It would be better we copies the extracted files. Please correct me if I made any mistake.

I have declared in hook_libraries_info() {
...
download file url => 'https://github.com/FortAwesome/Font-Awesome/archive/v4.2.0.zip'
...
}

downloaded folder structure was like

libraries/fontawesome/Font-Awesome-4.2.0

Comments

Bhanuji created an issue. See original summary.

Bhanuji’s picture

Issue summary: View changes
tstoeckler’s picture

Category: Feature request » Bug report
Status: Active » Postponed (maintainer needs more info)

Hey there, thanks for testing this new feature, that's awesome!

Can you provide the library metadata, so I can reproduce the issue?

Bhanuji’s picture

Issue summary: View changes
Bhanuji’s picture

Issue summary: View changes
tstoeckler’s picture

Status: Postponed (maintainer needs more info) » Active

Thanks for that, I'll try it out soon.