General TC > Programming & Scripting - Unofficial
extension audit script
Jason W:
I added the check for the KERNEL variable to see if either a 32 bit or 64 bit version exists of entries in dep files, all entries in dep files that do not exist in the repo are stored in /tmp/submitqc/missingdeps.
Jason W:
Added a check for the readability as user TC of the base squashfs directory, to prevent non-readable extensions from getting through.
Jason W:
Added checking for suspicious directory permissions, echoed in the terminal and
stored in /tmp/submitqc/badperm.
Jason W:
Added check for wrong startup script name, results echoed in
> /tmp/submitqc/wrongstartscriptname
The extension is automatically rebuilt with proper script name if there is only one file in tce.installed yet it is
not the same name as the extension. If there are two or more files in tce.installed, then no
automatic rebuilding and renaming takes place since this condition can't be reliably corrected.
jls:
--- Code: ---tc@box1:/mnt/hda3/jls/estensioni/pygobject-2.7$ submit3
/home/tc/.local/bin/submit3: line 407: stat: not found
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version