SF.net SVN: gar:[25076] csw/mgar/pkg/smartmontools/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jun 11 15:00:51 CEST 2015


Revision: 25076
          http://sourceforge.net/p/gar/code/25076
Author:   dmichelsen
Date:     2015-06-11 13:00:50 +0000 (Thu, 11 Jun 2015)
Log Message:
-----------
smartmontools/trunk: Preserve configuration

Modified Paths:
--------------
    csw/mgar/pkg/smartmontools/trunk/Makefile

Removed Paths:
-------------
    csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.postinstall

Modified: csw/mgar/pkg/smartmontools/trunk/Makefile
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/Makefile	2015-06-11 08:53:54 UTC (rev 25075)
+++ csw/mgar/pkg/smartmontools/trunk/Makefile	2015-06-11 13:00:50 UTC (rev 25076)
@@ -39,6 +39,8 @@
 
 CHECKPKG_OVERRIDES_CSWsmartmontools += file-with-bad-content
 
+PRESERVECONF += $(sysconfdir)/smartd.conf
+
 include gar/category.mk
 
 # Moving the configuration file.

Deleted: csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.postinstall
===================================================================
--- csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.postinstall	2015-06-11 08:53:54 UTC (rev 25075)
+++ csw/mgar/pkg/smartmontools/trunk/files/CSWsmartmontools.postinstall	2015-06-11 13:00:50 UTC (rev 25076)
@@ -1,3 +0,0 @@
-if [ ! -f $BASEDIR/opt/csw/etc/smartd.conf ] ; then
-        cp $BASEDIR/opt/csw/etc/smartd.conf.CSW $BASEDIR/opt/csw/etc/smartd.conf
-fi

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list