1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

sysutils/pot: Fix rc script

This commit is contained in:
Luca Pizzamiglio 2018-03-21 14:11:31 +00:00
parent f4b95c1bb5
commit 9bab6d3206
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465179
2 changed files with 6 additions and 5 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= pot
PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= pizzamig@FreeBSD.org

View File

@ -24,8 +24,8 @@ pot_start()
{
local _pname
for _pname in $pot_list ; do
if pot info -qp $_pname ; then
pot start $_pname
if %%PREFIX%%/bin/${name} info -qp $_pname ; then
%%PREFIX%%/bin/${name} start $_pname
else
echo "pot start: pot $_pnmame not found"
fi
@ -36,8 +36,8 @@ pot_stop()
{
local _pname
for _pname in $pot_list ; do
if pot info -qp $_pname ; then
pot stop $_pname
if %%PREFIX%%/bin/${name} info -qp $_pname ; then
%%PREFIX%%/bin/${name} stop $_pname
else
echo "pot stop: pot $_pname not found"
fi
@ -55,7 +55,7 @@ pot_status()
{
local _p
for _p in $pot_list ; do
if pot info -qrp $_p ; then
if %%PREFIX%%/bin/${name} info -qrp $_p ; then
echo "pot $_p is up and running"
else
echo "pot $_p is not running"