mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix minified silvermine-...quality* fetching
This commit is contained in:
parent
62c1991b88
commit
b6670a7e3d
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ dependencies_to_install.each do |dep|
|
||||||
end
|
end
|
||||||
|
|
||||||
# Would use File.rename but for some reason it just doesn't work here.
|
# Would use File.rename but for some reason it just doesn't work here.
|
||||||
if minified && File.exists?("#{download_path}/package/dist/#{dep}.min.js")
|
if minified && File.exists?("#{download_path}/package/dist/#{js_path}#{dep}.min.js")
|
||||||
`mv #{download_path}/package/dist/#{js_path}#{dep}.min.js #{dest_path}/#{dep}.js`
|
`mv #{download_path}/package/dist/#{js_path}#{dep}.min.js #{dest_path}/#{dep}.js`
|
||||||
else
|
else
|
||||||
`mv #{download_path}/package/dist/#{js_path}#{dep}.js #{dest_path}/#{dep}.js`
|
`mv #{download_path}/package/dist/#{js_path}#{dep}.js #{dest_path}/#{dep}.js`
|
||||||
|
|
Loading…
Reference in a new issue