mirror of
https://github.com/unraid/api.git
synced 2026-01-16 05:37:25 -06:00
fix: zip path
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user