about summary refs log tree commit diff
path: root/bundles/alpine-base/items.py
blob: 0aee9cf046cc95fc3f1503fc32fd32f85f99fd20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if node.os != "alpine":
    raise BundleError(f"{node.name}: OS {node.os} is not supported.")

actions = {
    "enable_etc_profiled_color_prompt": {
        "command": "rename -v '.disabled' '' /etc/profile.d/color_prompt.sh.disabled",
        "unless": "test -e /etc/profile.d/color_prompt.sh",
    }
}

# TODO: weekly apk update cronjob?

files = {
    "/etc/profile.d/90custom.sh": {
        "source": "profile.sh",
    },
}