public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-misc/screen: screen-4.0.3-r4.ebuild ChangeLog screen-4.0.3-r3.ebuild screen-4.0.3-r1.ebuild
@ 2011-03-19 14:36 Sven Wegener (swegener)
  0 siblings, 0 replies; only message in thread
From: Sven Wegener (swegener) @ 2011-03-19 14:36 UTC (permalink / raw
  To: gentoo-commits

swegener    11/03/19 14:36:43

  Modified:             screen-4.0.3-r4.ebuild ChangeLog
                        screen-4.0.3-r3.ebuild screen-4.0.3-r1.ebuild
  Log:
  Touchup postinst logic to be easier to read.
  
  (Portage version: 2.2.0_alpha26/cvs/Linux x86_64)

Revision  Changes    Path
1.2                  app-misc/screen/screen-4.0.3-r4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r4.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r4.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r4.ebuild?r1=1.1&r2=1.2

Index: screen-4.0.3-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r4.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- screen-4.0.3-r4.ebuild	8 Dec 2010 19:11:04 -0000	1.1
+++ screen-4.0.3-r4.ebuild	19 Mar 2011 14:36:43 -0000	1.2
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r4.ebuild,v 1.1 2010/12/08 19:11:04 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r4.ebuild,v 1.2 2011/03/19 14:36:43 swegener Exp $
 
 EAPI="3"
 
@@ -150,14 +150,11 @@
 }
 
 pkg_postinst() {
-	if use multiuser || use prefix
-	then
-		use prefix || chown root:0 "${EROOT}"/var/run/screen
-		if use prefix; then
-			chmod 0777 "${EROOT}"/var/run/screen
-		else
-			chmod 0755 "${EROOT}"/var/run/screen
-		fi
+	if use prefix; then
+		chmod 0777 "${EROOT}"/var/run/screen
+	elif use multiuser; then
+		chown root:0 "${EROOT}"/var/run/screen
+		chmod 0755 "${EROOT}"/var/run/screen
 	else
 		chown root:utmp "${EROOT}"/var/run/screen
 		chmod 0775 "${EROOT}"/var/run/screen



1.155                app-misc/screen/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/ChangeLog?rev=1.155&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/ChangeLog?rev=1.155&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/ChangeLog?r1=1.154&r2=1.155

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v
retrieving revision 1.154
retrieving revision 1.155
diff -u -r1.154 -r1.155
--- ChangeLog	23 Jan 2011 20:14:43 -0000	1.154
+++ ChangeLog	19 Mar 2011 14:36:43 -0000	1.155
@@ -1,6 +1,10 @@
 # ChangeLog for app-misc/screen
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v 1.154 2011/01/23 20:14:43 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/ChangeLog,v 1.155 2011/03/19 14:36:43 swegener Exp $
+
+  19 Mar 2011; Sven Wegener <swegener@gentoo.org> screen-4.0.3-r1.ebuild,
+  screen-4.0.3-r3.ebuild, screen-4.0.3-r4.ebuild:
+  Touchup postinst logic to be easier to read.
 
   23 Jan 2011; Sven Wegener <swegener@gentoo.org> files/screenrc:
   Change suggested key binding for emacs users, bug #352063.



1.2                  app-misc/screen/screen-4.0.3-r3.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r3.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r3.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r3.ebuild?r1=1.1&r2=1.2

Index: screen-4.0.3-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r3.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- screen-4.0.3-r3.ebuild	17 Nov 2010 16:42:00 -0000	1.1
+++ screen-4.0.3-r3.ebuild	19 Mar 2011 14:36:43 -0000	1.2
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r3.ebuild,v 1.1 2010/11/17 16:42:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r3.ebuild,v 1.2 2011/03/19 14:36:43 swegener Exp $
 
 EAPI="3"
 
@@ -149,14 +149,11 @@
 }
 
 pkg_postinst() {
-	if use multiuser || use prefix
-	then
-		use prefix || chown root:0 "${EROOT}"/var/run/screen
-		if use prefix; then
-			chmod 0777 "${EROOT}"/var/run/screen
-		else
-			chmod 0755 "${EROOT}"/var/run/screen
-		fi
+	if use prefix; then
+		chmod 0777 "${EROOT}"/var/run/screen
+	elif use multiuser; then
+		chown root:0 "${EROOT}"/var/run/screen
+		chmod 0755 "${EROOT}"/var/run/screen
 	else
 		chown root:utmp "${EROOT}"/var/run/screen
 		chmod 0775 "${EROOT}"/var/run/screen



1.2                  app-misc/screen/screen-4.0.3-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/screen/screen-4.0.3-r1.ebuild?r1=1.1&r2=1.2

Index: screen-4.0.3-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- screen-4.0.3-r1.ebuild	15 Jun 2010 11:47:35 -0000	1.1
+++ screen-4.0.3-r1.ebuild	19 Mar 2011 14:36:43 -0000	1.2
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r1.ebuild,v 1.1 2010/06/15 11:47:35 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r1.ebuild,v 1.2 2011/03/19 14:36:43 swegener Exp $
 
 EAPI="3"
 
@@ -146,14 +146,11 @@
 }
 
 pkg_postinst() {
-	if use multiuser || use prefix
-	then
-		use prefix || chown root:0 "${EROOT}"/var/run/screen
-		if use prefix; then
-			chmod 0777 "${EROOT}"/var/run/screen
-		else
-			chmod 0755 "${EROOT}"/var/run/screen
-		fi
+	if use prefix; then
+		chmod 0777 "${EROOT}"/var/run/screen
+	elif use multiuser; then
+		chown root:0 "${EROOT}"/var/run/screen
+		chmod 0755 "${EROOT}"/var/run/screen
 	else
 		chown root:utmp "${EROOT}"/var/run/screen
 		chmod 0775 "${EROOT}"/var/run/screen






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-19 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-19 14:36 [gentoo-commits] gentoo-x86 commit in app-misc/screen: screen-4.0.3-r4.ebuild ChangeLog screen-4.0.3-r3.ebuild screen-4.0.3-r1.ebuild Sven Wegener (swegener)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox