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

feat(update.sh): [Don’t update kernel if kernel version is already installed] #36

Merged
merged 3 commits into from
May 10, 2022

Conversation

Kreblskulm
Copy link
Contributor

This will make it so that when the update is called it will check for the existence of 5.17.5 in the config files as an identifier for the kernel and if this identifier is found the kernel will not be installed due to it being installed already

This change should make it so that you will not need to install the kernal each update
@ajstrongdev
Copy link
Contributor

Will review when I'm free. Until then I've assigned @wizard-28 to review.

Copy link
Contributor

@ajstrongdev ajstrongdev left a comment

Choose a reason for hiding this comment

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

Please change the file name to 5-17-5 rather than 5.17.5

update.sh Outdated Show resolved Hide resolved
update.sh Outdated Show resolved Hide resolved
…talled

This change should make it so that you will not need to install the kernel each update
Copy link
Contributor

@ajstrongdev ajstrongdev left a comment

Choose a reason for hiding this comment

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

All of the changes requested seem to have been fixed. Will test on Tuesday and then if it works as intended. It'll be merged.

update.sh Outdated
The upgrade has been completed. Please reboot your system to see the changes.---"
Copy link
Member

Choose a reason for hiding this comment

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

Why is this changed?

Copy link
Contributor

Choose a reason for hiding this comment

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

I am unsure. I'll review it in further detail when I am home.

update.sh Show resolved Hide resolved
Copy link
Contributor

@ajstrongdev ajstrongdev left a comment

Choose a reason for hiding this comment

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

Minor change required on the last line which tells the user to reboot.

update.sh Outdated
The upgrade has been completed. Please reboot your system to see the changes.---"
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be fixed. It should be:

echo "---
The upgrade has been completed. Please reboot your system to see the changes
---"

Fixed message display bug that tells the user to reboot the system
Copy link
Contributor

@ajstrongdev ajstrongdev left a comment

Choose a reason for hiding this comment

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

Seems to have fixed the mistake. Will merge after some testing.

@ajstrongdev ajstrongdev merged commit cc14078 into rollingrhinoremix:main May 10, 2022
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.

3 participants