Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
Bhanuji CreditAttribution: Bhanuji commentedComment #3
tstoecklerHey there, thanks for testing this new feature, that's awesome!
Can you provide the library metadata, so I can reproduce the issue?
Comment #4
Bhanuji CreditAttribution: Bhanuji commentedComment #5
Bhanuji CreditAttribution: Bhanuji commentedComment #6
tstoecklerThanks for that, I'll try it out soon.