Skip to content

install-powershell.sh support for amazon linux #5409

Closed

Description

@DarwinJS

Create installpsh-amazonlinux.sh to support installation on amazon linux.

Also address:

  • incorrect repo urls in comments of each script
  • ensure that tarball installs overwrite (reinstall) and upgrades

Activity

  1. DarwinJS commented on Nov 10, 2017

    @DarwinJS
    ContributorAuthor

    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?

  2. DarwinJS commented on Nov 10, 2017

    @DarwinJS
    ContributorAuthor

    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.

  3. added
    WG-Maintainers-Build
    on Nov 10, 2017
  4. daxian-dbw commented on Nov 10, 2017

    @daxian-dbw
    Member

    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

    This bit of code will be done automatically when installing the DEB/RPM packages.

    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

    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.

  5. daxian-dbw commented on Nov 15, 2017

    @daxian-dbw
    Member

    Close via #5461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    WG-Maintainers-Build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions