Skip to content
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

Update PROFILE_FILE for system when running as root #66

Open
freef4ll opened this issue Sep 25, 2023 · 2 comments
Open

Update PROFILE_FILE for system when running as root #66

freef4ll opened this issue Sep 25, 2023 · 2 comments
Labels
swiftly-install Issue related to the installation script

Comments

@freef4ll
Copy link

Running a global system install like:

sudo SWIFTLY_HOME_DIR=/usr/local/share SWIFTLY_BIN_DIR=/usr/local/bin ./swiftly-install.sh  --disable-confirmation

Will result the profile being added for the root user, but can include this globally for all users by creating a file in /etc/profile.d

@patrickfreed
Copy link
Collaborator

The root user may still want to install packages just for themselves, so I don't know if we want to gate this behavior on that. However, I think it does make sense to have a configuration option to allow for system-wide installs. Does that sound good to you?

@patrickfreed patrickfreed added the swiftly-install Issue related to the installation script label Oct 11, 2023
@freef4ll
Copy link
Author

Yep, configuration option is good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
swiftly-install Issue related to the installation script
Projects
None yet
Development

No branches or pull requests

2 participants