Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2013 18:55:13 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319895 - head/sysutils/monitorix
Message-ID:  <201306041855.r54ItDm4024371@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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%%
-@exec [ -f %%DATADIR%%/fs.rrd ] && mv %%DATADIR%%/*.rrd %%DBDIR%%
+@exec [ -f %%DATADIR%%/fs.rrd ] && mv %%DATADIR%%/*.rrd %%DBDIR%% || true
 @unexec rmdir %%DBDIR%% 2>/dev/null || true



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306041855.r54ItDm4024371>