svn commit: r319895 - head/sysutils/monitorix

Chris Rees crees at FreeBSD.org
Tue Jun 4 18:55:13 UTC 2013


Author: crees
Date: Tue Jun  4 18:55:12 2013
New Revision: 319895
URL: http://svnweb.freebsd.org/changeset/ports/319895

Log:
  Move the old rrd files over if present on package install

Modified:
  head/sysutils/monitorix/pkg-plist

Modified: head/sysutils/monitorix/pkg-plist
==============================================================================
--- head/sysutils/monitorix/pkg-plist	Tue Jun  4 18:53:40 2013	(r319894)
+++ head/sysutils/monitorix/pkg-plist	Tue Jun  4 18:55:12 2013	(r319895)
@@ -25,5 +25,5 @@ bin/monitorix
 @comment rrd files are now kept in /var/db/monitorix, we'll move
 @comment previous files over for the user
 @exec [ -d %%DBDIR%% ] || install -d -o %%WWW_OWNER%% -g %%WWW_GROUP%% %%DBDIR%%
- at exec [ -f %%DATADIR%%/fs.rrd ] && mv %%DATADIR%%/*.rrd %%DBDIR%%
+ at exec [ -f %%DATADIR%%/fs.rrd ] && mv %%DATADIR%%/*.rrd %%DBDIR%% || true
 @unexec rmdir %%DBDIR%% 2>/dev/null || true


More information about the svn-ports-all mailing list