From 3fa248393f991d283492f18d470d269d79cd61f5 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 28 May 2016 00:27:15 -0500 Subject: openrc-devel-20160528-1: updating version --- pcr/openrc-devel/postgresql.install | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'pcr/openrc-devel/postgresql.install') diff --git a/pcr/openrc-devel/postgresql.install b/pcr/openrc-devel/postgresql.install index e54258ecb..46084091f 100644 --- a/pcr/openrc-devel/postgresql.install +++ b/pcr/openrc-devel/postgresql.install @@ -1,19 +1,5 @@ -_svc="postgresql" -_rlvl="default" - post_install() { local datadir="/var/lib/data" echo " ==> requires datadir $datadir" echo " ==> run as user postgres: 'initdb -D $datadir'" - _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