summaryrefslogtreecommitdiffstats
path: root/scripts/fetch-player-dependencies.cr
diff options
context:
space:
mode:
authorGavin <57272374+thtmnisamnstr@users.noreply.github.com>2023-04-03 17:09:34 -0700
committerGitHub <noreply@github.com>2023-04-03 17:09:34 -0700
commitc421f1f205eba08ca38b70833a9cc3aec72df36f (patch)
tree91ec4b9e52aa766aaef412d83c3dd477e9aae39a /scripts/fetch-player-dependencies.cr
parentfffdaa1410db7f9b5c67b1b47d401a2744e7b220 (diff)
parent8db2a93827a4e27a55a9095be15083ea68cdd571 (diff)
downloadinvidious-c421f1f205eba08ca38b70833a9cc3aec72df36f.tar.gz
invidious-c421f1f205eba08ca38b70833a9cc3aec72df36f.tar.bz2
invidious-c421f1f205eba08ca38b70833a9cc3aec72df36f.zip
Merge branch 'iv-org:master' into youtube-playlist-import
Diffstat (limited to 'scripts/fetch-player-dependencies.cr')
-rwxr-xr-x[-rw-r--r--]scripts/fetch-player-dependencies.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fetch-player-dependencies.cr b/scripts/fetch-player-dependencies.cr
index ed658b51..813e4ce4 100644..100755
--- a/scripts/fetch-player-dependencies.cr
+++ b/scripts/fetch-player-dependencies.cr
@@ -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`