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 qinstall.sh: store_config(): Change for more efficency, and no… #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luca1234567a
Copy link

@luca1234567a luca1234567a commented Dec 19, 2024

store_config(): Change for more efficency, and not necessary operation. Change order of if.
Prevent non necessary execution of current_md5sum=$($CMD_MD5SUM "$file" 2>/dev/null | $CMD_CUT -d' ' -f1) if $file non exist.
Place first if [ -z "$orig_md5sum" ]; then because if $orig_md5sum is empty the if [ "$orig_md5sum" = "$current_md5sum" ] || [ "$new_md5sum" = "$current_md5sum" ]; then allways was false.

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