Make /var/lib/comedi/calibrations available to the comedi group.
authorW. Trevor King <wking@drexel.edu>
Fri, 27 Jan 2012 21:36:54 +0000 (16:36 -0500)
committerW. Trevor King <wking@drexel.edu>
Fri, 27 Jan 2012 21:36:54 +0000 (16:36 -0500)
sci-misc/comedi-calibrate/Manifest
sci-misc/comedi-calibrate/comedi-calibrate-9999.ebuild

index a4f1c5555f6365f59887afd35b40d8f1f968839a..b6fe8ceae638d86b91a726f1c1b7c6973b45a6df 100644 (file)
@@ -1,5 +1,5 @@
 AUX comedi-calibrate-9999-comedi_soft_calibrate-data-destdir.patch 515 RMD160 dcae09bccde0d5637a738b1bbc16dc7a97d71822 SHA1 6b4dee6c7e265aa328a9346de38bce8610a6a345 SHA256 f57712e52dab67cb7d1f45665ffe27d55ef77b3dcc1280b53a8d2032ea6d2cd7
 AUX comedi_calibrate.8 4900 RMD160 64859e216bc54b4010c227bd3efa9ad9ce2c1d1e SHA1 78a575d045a874ed1bdceddece22049d8637e1ab SHA256 5f96b0e24cd5590197747d64d28e7ec99e724d4ea846f84abb921d4dc4a8fe2f
-EBUILD comedi-calibrate-9999.ebuild 1249 RMD160 833b4d33bf05d53904060e7784b16f5c164d506c SHA1 3d3dc44232e752ad57072494234dd49948d17c24 SHA256 bd9e88bc5b001d05335cace23248220e9cfea92ea36f95f718b9ac72750dd34b
+EBUILD comedi-calibrate-9999.ebuild 1445 RMD160 bd4eedeb1b896b6abf91827ec0931cbe788ac663 SHA1 e7ea6cee135a6a4985bea576623684ca22bd0747 SHA256 8a971324d01f388565c095c2e4ae7f1b7b2bb909d1a49d7f92d1dae5562fb7a1
 MISC ChangeLog 792 RMD160 6e22e5ed7fa1d3ef38fe8d11c420a0240f03e1ca SHA1 b98269489344612e965364e942f93a0b0406b1e9 SHA256 e2b6bbceb9fc1f9c61cda9b0a3324d67e5fa3de3adf6a241e0e06db50a865faa
 MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72
index 5fa05917535fff6dd950285296dc49389cb4640d..161843035ba961320b2e9654e0b48e5d3e583bb1 100644 (file)
@@ -54,4 +54,8 @@ src_install()
        emake DESTDIR="${D}" install
        dodoc README AUTHORS ChangeLog
        doman "${FILESDIR}/comedi_calibrate.8"
+       # make the calibration directory available to the comedi group set
+       # up by sci-misc/comedi-headers
+       chgrp comedi "${D}/var/lib/comedi/calibrations"
+       chmod 775 "${D}/var/lib/comedi/calibrations"
 }