Hi, I attach here my suggested updates for the scripts.
I have added a command to make the definition file writeable before attempting deleting and updating them. I restore them to read only at the end as to maintain the CD read only status.
I also revised the parsing of the fprot definitions locator as it seems different than what the original file expected. The script seems to work fine now.
Pietro
antivirus updater fix
Moderators: Icecube, StopSpazzing
antivirus updater fix
- Attachments
-
- antivirus.zip
- (3.08 KiB) Downloaded 3012 times
Re: antivirus updater fix
Thank you.
-
- Posts: 1368
- Joined: Mon Feb 21, 2005 10:59 pm
- Contact:
Re: antivirus updater fix
I won't be including the new "chmod" changes for the following reasons:
1. I feel the chmod should be done by the user depending on the situation eg. the scripts need to have +x permissions as specified in the readme, and if UBCD content is on USB memory stick, it is not necessary to +w and -w.
2. The scripts need to be compatible with Win32, and I don't find it compelling enough to include a new "chmod.exe" in tools/win32/unxutils.
However, I will be including the new fprot definition parsing in the upcoming minor release.
Once again, thanks for the contribution.
1. I feel the chmod should be done by the user depending on the situation eg. the scripts need to have +x permissions as specified in the readme, and if UBCD content is on USB memory stick, it is not necessary to +w and -w.
2. The scripts need to be compatible with Win32, and I don't find it compelling enough to include a new "chmod.exe" in tools/win32/unxutils.
However, I will be including the new fprot definition parsing in the upcoming minor release.
Once again, thanks for the contribution.