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
{{ message }}
Repository navigation
install-powershell.sh support for amazon linux #5409
Dongbo Wang (@daxian-dbw) - I should also ask will installpsh-suse.sh work for upgrading over an older version - did you test it for that? I am thinking since tarball based installs can't use the package manager to update, it might be nice if this code could be re-run to update.
No additional improvement. It just does what the package is doing.
should also ask will installpsh-suse.sh work for upgrading over an older version - did you test it for that?
If a newer release is available, then running the script should install the newer package, but it doesn't remove the older powershell core files from /opt/microsoft/powershell.
If there is no newer release, then re-running the script might fail as it tries to un-compress the files to the existing folder at line 167. I didn't test the re-run scenario.
Activity
DarwinJS commentedon Nov 10, 2017
Dongbo Wang (@daxian-dbw) - I am also planning to do some cleanup of the install*.sh scripts.
Is this bit of code already in the package based installs or should it be backported to the other installpsh*.sh scripts? https://github.com/PowerShell/PowerShell/blob/master/tools/installpsh-suse.sh#L174-L179
Are there any improvements in https://github.com/PowerShell/PowerShell/blob/master/tools/installpsh-suse.sh that would be helpful to have in the other installpsh*.sh scripts?
DarwinJS commentedon Nov 10, 2017
Dongbo Wang (@daxian-dbw) - I should also ask will installpsh-suse.sh work for upgrading over an older version - did you test it for that? I am thinking since tarball based installs can't use the package manager to update, it might be nice if this code could be re-run to update.
daxian-dbw commentedon Nov 10, 2017
This bit of code will be done automatically when installing the DEB/RPM packages.
No additional improvement. It just does what the package is doing.
If a newer release is available, then running the script should install the newer package, but it doesn't remove the older powershell core files from
/opt/microsoft/powershell.If there is no newer release, then re-running the script might fail as it tries to un-compress the files to the existing folder at line 167. I didn't test the re-run scenario.
daxian-dbw commentedon Nov 15, 2017
Close via #5461