summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2023-01-21 19:52:14 +0100
committerSamantaz Fox <coding@samantaz.fr>2023-01-21 19:52:14 +0100
commitf47d4f88cc6d7a1f0e92cabd5767e39e0596b63f (patch)
treef14c9822561145213213a6b82c1ca046e15121a7 /scripts
parent0e68756758d5d0266fc8656363a37adc58f0b803 (diff)
downloadinvidious-f47d4f88cc6d7a1f0e92cabd5767e39e0596b63f.tar.gz
invidious-f47d4f88cc6d7a1f0e92cabd5767e39e0596b63f.tar.bz2
invidious-f47d4f88cc6d7a1f0e92cabd5767e39e0596b63f.zip
Deps: Use the right source path when copying .min.css files
Thanks to therealresonix for the catch!
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/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 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`