Skip to content

feat(installer): add default install directory with existing install …#2646

Open
LaurenceJJones wants to merge 1 commit intofosrl:devfrom
LaurenceJJones:feature/installer-default-dir
Open

feat(installer): add default install directory with existing install …#2646
LaurenceJJones wants to merge 1 commit intofosrl:devfrom
LaurenceJJones:feature/installer-default-dir

Conversation

@LaurenceJJones
Copy link
Member

…detection

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

  • Default to /opt/pangolin for new installations
  • Check current directory and /opt/pangolin for existing installs
  • Prompt to use existing install if found at default location
  • Offer to change directory ownership when running via sudo
  • Create installation directory if it doesn't exist

How to test?

Currently the installer generates files relative to where the installer is ran, ultimately this creates:

  • User confusion on where the files ended up
  • Documentation struggles since there is no "default directory" for user to follow if they want to make changes
  • User might generate in a folder and ask "How do I move this?"
  • Might cause user to accidentally place in a folder that has broad permissions and causes information exposure.

The intended direction of this PR is to standardize the output location so moving forward users can get a sense of where files will be generator and create a standard of where we would like them to be placed.

…detection

  - Default to /opt/pangolin for new installations
  - Check current directory and /opt/pangolin for existing installs
  - Prompt to use existing install if found at default location
  - Offer to change directory ownership when running via sudo
  - Create installation directory if it doesn't exist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant