https://bugs.contribs.org/show_bug.cgi?id=11518

Jean-Philippe Pialasse <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Package|---                         |e-smith-base

--- Comment #1 from Jean-Philippe Pialasse <[email protected]> ---
a simple fragment is provided by e-smith base to define the configuration of
updatedb

unfortunately we can not provides this value twice in the file


a way I suggest to allow contribs to add path would be :

/etc/e-smith/templates/etc/updatedb.conf/01conf
{
 $PRUNEPATHS="";
 $PRUNEFS="";
}


/etc/e-smith/templates/etc/updatedb.conf/10conf
#  /etc/updatedb.conf

# Sample configuration file for updatedb(8).  See man 5 updatedb.conf
PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf {$PRUNEFS}"
PRUNEPATHS = "/afs /media /net /sfs /tmp /udev /var/spool/cups /var/spool/squid
/var/tmp {$PRUNEPATHS}"



then any contrib could do 
/etc/e-smith/templates/etc/updatedb.conf/05BackupPC
{
  $PRUNEPATHS .= " /var/lib/BackupPC ";
  $OUT ="";
}



or  could do also

{
  $PRUNEPATHS .= " ". $Myconfig{Property}." ";
  $OUT ="";
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to