summaryrefslogtreecommitdiff
path: root/lang/python/python-dockerpty
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-06-29 15:27:40 +0800
committerJeffery To <jeffery.to@gmail.com>2023-08-25 01:47:43 +0800
commit2ffb87726b93ffd73a5291d6db1bc3d13fbcde17 (patch)
treeb877a57ad760efc074d2199d5ae65188320e32b1 /lang/python/python-dockerpty
parent329f9a139157840ad129991e961a63f7f4362d62 (diff)
python: Rework filespec install script
* Support wildcards in install (`+`) paths * Add fourth parameter to set directory permissions If file permissions are given (third parameter), these will now apply to files only. * Add non-recursive set permissions command (`==`) * Be more strict about filespec format Blank lines and lines starting with `#` will be ignored. Other errors (unknown command, missing path parameter, etc.) will cause the script to exit. * Be more strict about ensuring paths exist for all commands * Avoid spawning subshells This also removes outdated filespec paths in the python3 package; these paths delete files that are no longer present. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-dockerpty')
0 files changed, 0 insertions, 0 deletions