File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -863,15 +863,6 @@ mkdir -p /var/log/unraid-api
863863tar -C "${api_base_directory}" -xzf "${flash}/unraid-api.tgz" --strip 1
864864# Copy env file
865865cp "${api_base_directory}/.env.${env}" "${api_base_directory}/.env"
866- # Copy wc files from flash
867- if [ -f "${flash}/webComps/unraid.min.js" ]; then
868- rm -rf /usr/local/emhttp/webGui/webComps
869- mkdir -p /usr/local/emhttp/webGui/webComps
870- cp ${flash}/webComps/* /usr/local/emhttp/webGui/webComps
871- else
872- # not fatal, previous version of unraid.min.js should still exist in /usr/local/emhttp/webGui/webComps
873- echo "Note: ${flash}/webComps/unraid.min.js is missing"
874- fi
875866npm link "${api_base_directory}" --force
876867# Create symlink to unraid-api binary (to allow usage elsewhere)
877868ln -sf /usr/local/bin/unraid-api /usr/local/sbin/unraid-api
You can’t perform that action at this time.
0 commit comments