mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
debs can have several content types?
This commit is contained in:
parent
dba4b5aa29
commit
e46c3b1385
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ class DownloadActions extends Actions
|
|||
|
||||
foreach($releaseData['assets'] as $asset)
|
||||
{
|
||||
if ($os == static::OS_LINUX && $asset['content_type'] == 'application/x-debian-package' ||
|
||||
if ($os == static::OS_LINUX && in_array($asset['content_type'], ['application/x-debian-package', 'application/x-deb']) ||
|
||||
$os == static::OS_OSX && $asset['content_type'] == 'application/x-diskcopy')
|
||||
{
|
||||
return $asset['browser_download_url'];
|
||||
|
|
Loading…
Add table
Reference in a new issue