diff --git a/dynamix.unraid.net.plg b/dynamix.unraid.net.plg index b6e433a35..d6e811e83 100644 --- a/dynamix.unraid.net.plg +++ b/dynamix.unraid.net.plg @@ -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