-
Notifications
You must be signed in to change notification settings - Fork 644
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
add uninstall_nerdctl_full Script #3972
base: main
Are you sure you want to change the base?
Conversation
Script for uninstalling nerdctl-full on Linux Signed-off-by: 今天不回家 <[email protected]>
add uninstall_nerdctl_full.sh
# Get the installed path | ||
INSTALL_PATH="$1" | ||
|
||
# the files and directories to be deleted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should read the file names and the digests from $PREFIX/share/doc/nerdctl-full/SHA256SUMS
.
The digests have to be checked (by default, at least) so as to avoid removing files installed by other tools
fi | ||
|
||
# Get the installed path | ||
INSTALL_PATH="$1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be automatically guessed from the path of the script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file name should be like extras/nerdctl-full-uninstall.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash the commits
Script for uninstalling nerdctl_full on Linux