From 2eba4176c3accb245bfc3f950b45c84dccaddafd Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 17 Oct 2015 05:05:17 -0500 Subject: openrc-devel: add new package to [pcr] --- pcr/openrc-devel/git.install | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pcr/openrc-devel/git.install (limited to 'pcr/openrc-devel/git.install') diff --git a/pcr/openrc-devel/git.install b/pcr/openrc-devel/git.install new file mode 100644 index 000000000..397e97d7d --- /dev/null +++ b/pcr/openrc-devel/git.install @@ -0,0 +1,16 @@ +_svc="git-daemon" +_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-2-g168b