Skip to content

Add modular setup to init.sh #25

@Rydekull

Description

@Rydekull

So, instead of creating all functions in init.sh.
Let init.sh scan the dir modules, that looks like follows:
modules/
modules/debian.source
modules/el6.source

Source these files depending on which target platform you want to build for.

Each file should contain functions that will
f_create_client_package
f_create_server_package

As such, we can do a modular approach to functions for different platforms that this script supports.

With this, change the ./init.sh call, to something like follows:
./init.sh build-client-package debian
or
./init.sh build-client-package el6

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions