mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Deps: Use the right source path when copying .min.css files
Thanks to therealresonix for the catch!
This commit is contained in:
parent
0e68756758
commit
f47d4f88cc
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ dependencies_to_install.each do |dep|
|
|||
dep = "videojs.markers" if dep == "videojs-markers"
|
||||
|
||||
if File.exists?("#{download_path}/package/dist/#{dep}.css")
|
||||
if minified && File.exists?("#{tmp_dir_path}/#{dep}/package/dist/#{dep}.min.css")
|
||||
if minified && File.exists?("#{download_path}/package/dist/#{dep}.min.css")
|
||||
`mv #{download_path}/package/dist/#{dep}.min.css #{dest_path}/#{dep}.css`
|
||||
else
|
||||
`mv #{download_path}/package/dist/#{dep}.css #{dest_path}/#{dep}.css`
|
||||
|
|
Loading…
Reference in a new issue