fix: zip path

This commit is contained in:
Alexis Tyler
2021-05-13 13:38:34 +09:30
parent 4306145123
commit a23468eb24

View File

@@ -188,7 +188,7 @@ _install() {
# If this was downloaded from a Github action it'll be a zip with a tgz inside
# Let's extract the tgz and rename it for the next step
if [[ -f "$node_base_directory/unraid-api.zip" ]]; then
for f in *.zip; do unzip -p "$f" > "${f%.zip}.tgz"; done
for f in ${flash}/unraid-api.zip; do unzip -p "$f" > "${flash}/${f%.zip}.tgz"; done
rm -f $node_base_directory/unraid-api.zip
fi