diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-17 05:05:17 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-17 05:05:17 -0500 |
commit | 2eba4176c3accb245bfc3f950b45c84dccaddafd (patch) | |
tree | ab36b4bdb99a636662ec2394389190d37cc276e1 /pcr/openrc-devel/subversion.install | |
parent | 19f95c7d623dcca230cc1340efaacf4de4423e93 (diff) |
openrc-devel: add new package to [pcr]
Diffstat (limited to 'pcr/openrc-devel/subversion.install')
-rw-r--r-- | pcr/openrc-devel/subversion.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/openrc-devel/subversion.install b/pcr/openrc-devel/subversion.install new file mode 100644 index 000000000..b83c73ebd --- /dev/null +++ b/pcr/openrc-devel/subversion.install @@ -0,0 +1,16 @@ +_svc="svn" +_rlvl="default" + +post_install() { + _cmd="rc-update add ${_svc} ${_rlvl}" + echo " ==> run '${_cmd}'" +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + _cmd="rc-update del ${_svc} ${_rlvl}" + echo " ==> run '${_cmd}'" +} |