mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Don't download package silently
Otherwise users think it's slow or hung.
This commit is contained in:
1 parent
25eab9a2e5
commit
6b582851d6
1 file changed
+1
-1
+1
-1
@@ -68,7 +68,7 @@ read asset package <<< $(echo "$info" | sed 's/[,"]//g' | awk '{ print $2; print
|
||||
# Downloads asset to file
|
||||
packageuri=$(curl -s -i -H 'Accept: application/octet-stream' "https://api.github.com/repos/PowerShell/PowerShell/releases/assets/$asset" |
|
||||
grep location | sed 's/location: //g')
|
||||
curl -C - -s -o "$package" ${packageuri%$'\r'}
|
||||
curl -C - -o "$package" ${packageuri%$'\r'}
|
||||
|
||||
# Installs PowerShell package
|
||||
case "$OSTYPE" in
|
||||
|
||||
Reference in new issue
Block a user