summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-04-26 20:22:15 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-04-26 20:22:15 +0000
commitb50b52089d5924578b95074ae43f19c1bacbacd3 (patch)
treed102060bc13ee9d6111445b7493f46fbcdd11185 /x11-base/opengl-update
parentStable on alpha. (diff)
downloadgentoo-2-b50b52089d5924578b95074ae43f19c1bacbacd3.tar.gz
gentoo-2-b50b52089d5924578b95074ae43f19c1bacbacd3.tar.bz2
gentoo-2-b50b52089d5924578b95074ae43f19c1bacbacd3.zip
Set a sane umask. Closes bug #83115.
(Portage version: 2.0.51.20-r4)
Diffstat (limited to 'x11-base/opengl-update')
-rw-r--r--x11-base/opengl-update/ChangeLog3
-rw-r--r--x11-base/opengl-update/files/opengl-update-2.2.05
2 files changed, 6 insertions, 2 deletions
diff --git a/x11-base/opengl-update/ChangeLog b/x11-base/opengl-update/ChangeLog
index 1e9b424dfe8a..1861ba86570e 100644
--- a/x11-base/opengl-update/ChangeLog
+++ b/x11-base/opengl-update/ChangeLog
@@ -1,9 +1,10 @@
# ChangeLog for x11-base/opengl-update
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/opengl-update/ChangeLog,v 1.87 2005/04/26 19:57:46 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/opengl-update/ChangeLog,v 1.88 2005/04/26 20:22:15 eradicator Exp $
26 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org>
files/opengl-update-2.2.0:
+ Set a sane umask. Closes bug #83115.
Make --use-old fix the current implementation if it's broken rather than
exiting by doing nothing. Cleaned up --help output.
diff --git a/x11-base/opengl-update/files/opengl-update-2.2.0 b/x11-base/opengl-update/files/opengl-update-2.2.0
index b7a390eed3ec..896a310df113 100644
--- a/x11-base/opengl-update/files/opengl-update-2.2.0
+++ b/x11-base/opengl-update/files/opengl-update-2.2.0
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/opengl-update/files/opengl-update-2.2.0,v 1.2 2005/04/26 19:57:46 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/opengl-update/files/opengl-update-2.2.0,v 1.3 2005/04/26 20:22:15 eradicator Exp $
# Author: Martin Schlemmer <azarah@gentoo.org>
# Further modifications by Donnie Berkholz <spyderous@gentoo.org>
# Further modifications based off submissions to bug #54984 <cyfred@gentoo.org>
@@ -174,6 +174,9 @@ set-new-implementation() {
check_version
check_user
+ # Set a sane umask... bug #83115
+ umask 022
+
if ! hasq ${GL_IMPLEM} ${AVAIL_IMPLEMS}; then
eerror "Invalid profile selected."
exit 1