Skip to content

PR: Fix issues for all-user install in post-install script (Installers) #21053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 21, 2023

Conversation

mrclary
Copy link
Contributor

@mrclary mrclary commented Jun 21, 2023

  • Quote variable interpolation in conditional statements and check for file not just exists.
  • Remove aliases before removing environment in uninstall.
  • Set executable permission for user only for uninstall-spyder.sh.
  • Only add aliases if shell_init is not null.
  • Use relative path in shortcut command for macOS to allow Spyder.app to be moved. menuinst currently puts shortcut in ~/Applications instead of /Applications for all-user install.

mrclary added 2 commits June 21, 2023 08:30
Quote variable interpolation in conditional statements and check for file not just exists.
Remove aliases before environment in uninstall.
Set executable permission for user only for uninstall-spyder.sh.
Only add aliases if shell_init is not null.
Use relative path in shortcut command for macOS to allow Spyder.app to be moved.
@mrclary mrclary self-assigned this Jun 21, 2023
@ccordoba12 ccordoba12 changed the title PR: fix issues for all-user install in post-install script for conda-based installer PR: Fix issues for all-user install in post-install script for conda-based installer Jun 21, 2023
@ccordoba12 ccordoba12 added this to the v6.0alpha2 milestone Jun 21, 2023
@ccordoba12 ccordoba12 changed the title PR: Fix issues for all-user install in post-install script for conda-based installer PR: Fix issues for all-user install in post-install script (Installers) Jun 21, 2023
@mrclary mrclary requested a review from ccordoba12 June 21, 2023 16:20
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks @mrclary!

@ccordoba12 ccordoba12 merged commit 0b7d9a2 into spyder-ide:master Jun 21, 2023
@mrclary mrclary deleted the cbi-all-user branch June 21, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants