From 1af461bc327f1fbb09a98c22acf956ce95804980 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Fri, 18 Mar 2016 16:37:23 -0500 Subject: openrc-devel-20160222-1: updating version --- pcr/openrc-devel/distcc.install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pcr/openrc-devel/distcc.install (limited to 'pcr/openrc-devel/distcc.install') diff --git a/pcr/openrc-devel/distcc.install b/pcr/openrc-devel/distcc.install new file mode 100644 index 000000000..24a142e9e --- /dev/null +++ b/pcr/openrc-devel/distcc.install @@ -0,0 +1,16 @@ +_svc="distccd" +_rlvl="default" + +post_install() { + _cmd="rc-update add ${_svc} ${_rlvl}" + echo " ==> run '${_cmd}'" +} + +post_upgrade() { + post_install "$1" +} + +post_remove() { + _cmd="rc-update del ${_svc} ${_rlvl}" + echo " ==> run '${_cmd}'" +} -- cgit v1.2.3-54-g00ecf