You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update 'installpsh-suse.sh' and remove 'download.sh' (PowerShell#5309)
- Update `installpsh-suse.sh` to work with the .tar.gz binary archive.
- Remove `download.sh` as it's not used anywhere now. (checked with PowerShellGet and OneGet, they are using a local copy of download.sh).
For Windows refer to the [installation instructions](https://github.com/PowerShell/PowerShell/blob/master/docs/installation/windows.md)
3
+
For Windows refer to the [installation instructions](https://github.com/PowerShell/PowerShell/blob/master/docs/installation/windows.md).
4
4
5
-
For Linux, using [download.sh](https://github.com/PowerShell/PowerShell/blob/master/tools/download.sh) is the best way to deploy PowerShell bits
5
+
For Linux, using [`install-powershell.sh`](https://github.com/PowerShell/PowerShell/blob/master/tools/install-powershell-readme.md) is the best way to deploy PowerShell bits.
echo"*** Installing prerequisites for PowerShell Core..."
121
+
$SUDO zypper --non-interactive install \
122
+
glibc-locale \
123
+
glibc-i18ndata \
124
+
tar \
125
+
curl \
126
+
libunwind \
127
+
libicu \
128
+
openssl \
129
+
&& zypper --non-interactive clean --all
119
130
120
131
##END Check requirements and prerequisites
121
132
122
133
echo
123
134
echo"*** Installing PowerShell Core for $DistroBasedOn..."
124
-
if!hash curl 2>/dev/null;then
125
-
echo"curl not found, installing..."
126
-
$SUDO zypper install -y curl
127
-
fi
128
135
release=`curl https://api.github.com/repos/powershell/powershell/releases/latest | sed '/tag_name/!d'| sed s/\"tag_name\"://g | sed s/\"//g | sed s/v//g | sed s/,//g | sed s/\ //g`
0 commit comments