Fix pkg-plist for packages.
Feature safe: yes
This commit is contained in:
parent
b94afc7e96
commit
4bae727d2a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307717
4 changed files with 8 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= redis
|
||||
DISTVERSION= 2.6.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= GOOGLE_CODE
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
|
|
@ -6,8 +6,10 @@ bin/redis-sentinel
|
|||
bin/redis-server
|
||||
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
|
||||
etc/redis.conf.sample
|
||||
etc/sentinel.conf.sample
|
||||
@exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf
|
||||
@unexec (cmp -s %D/etc/sentinel.conf %D/etc/sentinel.conf.sample && rm -f %D/etc/sentinel.conf) || true
|
||||
etc/sentinel.conf.sample
|
||||
@exec [ -f %B/sentinel.conf ] || cp %B/%f %B/sentinel.conf
|
||||
@exec [ -d %%REDIS_DBDIR%% ] || mkdir -p %%REDIS_DBDIR%%
|
||||
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
|
||||
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= redis
|
||||
DISTVERSION= 2.6.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= GOOGLE_CODE
|
||||
|
||||
|
|
|
@ -6,8 +6,10 @@ bin/redis-sentinel
|
|||
bin/redis-server
|
||||
@unexec (cmp -s %D/etc/redis.conf %D/etc/redis.conf.sample && rm -f %D/etc/redis.conf) || true
|
||||
etc/redis.conf.sample
|
||||
etc/sentinel.conf.sample
|
||||
@exec [ -f %B/redis.conf ] || cp %B/%f %B/redis.conf
|
||||
@unexec (cmp -s %D/etc/sentinel.conf %D/etc/sentinel.conf.sample && rm -f %D/etc/sentinel.conf) || true
|
||||
etc/sentinel.conf.sample
|
||||
@exec [ -f %B/sentinel.conf ] || cp %B/%f %B/sentinel.conf
|
||||
@exec [ -d %%REDIS_DBDIR%% ] || mkdir -p %%REDIS_DBDIR%%
|
||||
@exec chown %%REDIS_USER%%:%%REDIS_GROUP%% %%REDIS_DBDIR%%
|
||||
@unexec if [ -z ${UPGRADE_PORT} ] ; then rmdir %%REDIS_DBDIR%% 2>/dev/null; fi
|
||||
|
|
Loading…
Reference in a new issue