Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Implement user privilege check for dependencies installation#2

Open
PinkQween wants to merge 1 commit intotransicle:maintransicle/Nilla:mainfrom
PinkQween:patch-1PinkQween/Nilla:patch-1Copy head branch name to clipboard
Open

Implement user privilege check for dependencies installation#2
PinkQween wants to merge 1 commit intotransicle:maintransicle/Nilla:mainfrom
PinkQween:patch-1PinkQween/Nilla:patch-1Copy head branch name to clipboard

Conversation

@PinkQween
Copy link
Copy Markdown

This pull request updates the installation script to improve handling of dependency installation based on user privileges. The script now checks if the user is running as root and uses sudo if available, providing clearer instructions if neither is possible.

Enhanced dependency installation logic:

  • Added a conditional check for root privileges ($EUID) and runs Install-Dependencies.sh directly if root, otherwise attempts to use sudo or prompts the user to install sudo and add themselves to sudoers. (Install-Nilla.sh, Install-Nilla.shR19-R30)Add conditional installation of dependencies based on user privileges.

Add conditional installation of dependencies based on user privileges.
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.