svn commit: r374755 - in head/emulators/pipelight: . files

Kris Moore kmoore at FreeBSD.org
Mon Dec 15 17:00:24 UTC 2014


Author: kmoore
Date: Mon Dec 15 17:00:22 2014
New Revision: 374755
URL: https://svnweb.freebsd.org/changeset/ports/374755
QAT: https://qat.redports.org/buildarchive/r374755/

Log:
   - Fix a bug in pipelight-mkufs script
   - Bump PORTREV
  
  PR: 195963
  Submitted by: f0andrey at gmail.com

Modified:
  head/emulators/pipelight/Makefile
  head/emulators/pipelight/files/pipelight-mkufs.in

Modified: head/emulators/pipelight/Makefile
==============================================================================
--- head/emulators/pipelight/Makefile	Mon Dec 15 16:19:29 2014	(r374754)
+++ head/emulators/pipelight/Makefile	Mon Dec 15 17:00:22 2014	(r374755)
@@ -3,7 +3,7 @@
 
 PORTNAME=	pipelight
 DISTVERSION=	0.2.7.3
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	emulators
 MASTER_SITES=	https://bitbucket.org/mmueller2012/pipelight/get/ \
 		http://repos.fds-team.de/pluginloader/v${DISTVERSION}/:plg

Modified: head/emulators/pipelight/files/pipelight-mkufs.in
==============================================================================
--- head/emulators/pipelight/files/pipelight-mkufs.in	Mon Dec 15 16:19:29 2014	(r374754)
+++ head/emulators/pipelight/files/pipelight-mkufs.in	Mon Dec 15 17:00:22 2014	(r374755)
@@ -85,8 +85,11 @@ if [ $? -ne 0 ] ; then
    exit 1
 fi
 
+# Get user group
+usergroup=`groups $username | cut -d " " -f 1`
+
 # Chown the directory
-chown $username:$username ${userhome}/.wine-pipelight
+chown $username:$usergroup ${userhome}/.wine-pipelight
 
 # Save to fstab
 echo "/dev/zvol/$zpool/$username-pipelight  ${userhome}/.wine-pipelight	ufs            rw,late              0       0" >> /etc/fstab


More information about the svn-ports-head mailing list