diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-05-08 18:43:15 +0100 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-05-09 14:49:58 +0100 |
commit | 949788092824768dc5ffd517073b5b94172869ee (patch) | |
tree | e0c4fe5c158004eaa5c6075586f5bbd6616c58cb /morphlib/exts/install-files.configure | |
parent | 9ea146fdcfbe9b93b297165b1b5222e1eadb9d23 (diff) | |
download | morph-949788092824768dc5ffd517073b5b94172869ee.tar.gz |
Add help for install-files.configure
Move the help out of the comment and into a help file,
and add a clearer example.
Diffstat (limited to 'morphlib/exts/install-files.configure')
-rwxr-xr-x | morphlib/exts/install-files.configure | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/morphlib/exts/install-files.configure b/morphlib/exts/install-files.configure index 8ba61b4e..04dc5f18 100755 --- a/morphlib/exts/install-files.configure +++ b/morphlib/exts/install-files.configure @@ -33,34 +33,6 @@ import stat class InstallFilesConfigureExtension(cliapp.Application): - '''Install the files specified in the manifests listed in INSTALL_FILES - - Entries in the manifest are formatted as: - - [overwrite] <octal mode> <uid decimal> <gid decimal> <filename> - - Where the filename is how the file is found inside whatever directory - the manifest is stored in, and also the path within the system to - install to. - - Directories on the target must be created if they do not exist. - - This extension supports files, symlinks and directories. - - For example, - - 0100644 0 0 /etc/issue - - creates a regular file at /etc/issue with 644 permissions, - uid 0 and gid 0, if the file doesn't already exist. - - overwrite 0100644 0 0 /etc/issue - - creates a regular file at /etc/issue with 644 permissions, - uid 0 and gid 0, if the file already exists it is overwritten. - - ''' - def process_args(self, args): if not 'INSTALL_FILES' in os.environ: return |