mirror of
https://github.com/safing/portmaster-packaging.git
synced 2026-05-20 20:10:34 +00:00
24 lines
711 B
Plaintext
24 lines
711 B
Plaintext
{{/* Template file expects repo root as working directory */}}
|
|
|
|
post_install() {
|
|
{{ template "log" }}
|
|
{{ file.Read "templates/snippets/install-systemd-utils.sh" | strings.Indent 4 " " }}
|
|
{{ file.Read "templates/snippets/post-install.sh" | strings.Indent 4 " " }}
|
|
}
|
|
|
|
post_upgrade() {
|
|
{{ template "log" }}
|
|
{{ file.Read "templates/snippets/install-systemd-utils.sh" | strings.Indent 4 " " }}
|
|
{{ file.Read "templates/snippets/post-upgrade.sh" | strings.Indent 4 " " }}
|
|
}
|
|
|
|
pre_remove() {
|
|
{{ template "log" }}
|
|
{{ file.Read "templates/snippets/pre-remove.sh" | strings.Indent 4 " " }}
|
|
}
|
|
|
|
post_remove() {
|
|
{{ template "log" }}
|
|
{{ file.Read "templates/snippets/post-remove.sh" | strings.Indent 4 " " }}
|
|
}
|