summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-14 00:12:44 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-14 00:12:44 +0000
commit30d5c1f105d4870fb4e96b199f7635ffd3705194 (patch)
treec12fc4c2aa001a00e048520d74baae5164915240 /games-puzzle/triptych-demo
parentFix #73972. (diff)
downloadhistorical-30d5c1f105d4870fb4e96b199f7635ffd3705194.tar.gz
historical-30d5c1f105d4870fb4e96b199f7635ffd3705194.tar.bz2
historical-30d5c1f105d4870fb4e96b199f7635ffd3705194.zip
Fix permissions #74217 by Alexandru Toma.
Diffstat (limited to 'games-puzzle/triptych-demo')
-rw-r--r--games-puzzle/triptych-demo/ChangeLog5
-rw-r--r--games-puzzle/triptych-demo/Manifest10
-rw-r--r--games-puzzle/triptych-demo/triptych-demo-0.ebuild15
3 files changed, 23 insertions, 7 deletions
diff --git a/games-puzzle/triptych-demo/ChangeLog b/games-puzzle/triptych-demo/ChangeLog
index 3fcd7ff5b4a5..d7b9d334603c 100644
--- a/games-puzzle/triptych-demo/ChangeLog
+++ b/games-puzzle/triptych-demo/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-puzzle/triptych-demo
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/triptych-demo/ChangeLog,v 1.1 2004/12/08 04:33:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/triptych-demo/ChangeLog,v 1.2 2004/12/14 00:12:44 vapier Exp $
+
+ 13 Dec 2004; Mike Frysinger <vapier@gentoo.org> triptych-demo-0.ebuild:
+ Fix permissions #74217 by Alexandru Toma.
*triptych-demo-0 (07 Dec 2004)
diff --git a/games-puzzle/triptych-demo/Manifest b/games-puzzle/triptych-demo/Manifest
index fbb905578b1a..3569dc75848d 100644
--- a/games-puzzle/triptych-demo/Manifest
+++ b/games-puzzle/triptych-demo/Manifest
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 76a96ad7c96357655e1ea98f58065c18 ChangeLog 352
+MD5 4c94d0f0938c15c3513630aa9bab2746 ChangeLog 471
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 1ca1b53c796e45b6b69270099679cbff triptych-demo-0.ebuild 731
+MD5 c44b764e802d52bd5e85c572ae9bd906 triptych-demo-0.ebuild 999
MD5 5593d94dac71b0477981be9ef76204fc files/digest-triptych-demo-0 61
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBtoRGroRuSHgZdywRAjTgAJ9JUGyP0S3/2Ka36FDjTpUEmEFCxwCfUk6I
-KYfNw/08hvzr9Ou79zj/9aY=
-=kYHs
+iD8DBQFBvjAXroRuSHgZdywRAqUKAJ4pmjJHXok81HqFspck1lbgYkvgGQCghLwf
+5ZIN55iJR0Esm8LoRE7GUs8=
+=abDf
-----END PGP SIGNATURE-----
diff --git a/games-puzzle/triptych-demo/triptych-demo-0.ebuild b/games-puzzle/triptych-demo/triptych-demo-0.ebuild
index 0e7704c68143..d249cffdc72c 100644
--- a/games-puzzle/triptych-demo/triptych-demo-0.ebuild
+++ b/games-puzzle/triptych-demo/triptych-demo-0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/triptych-demo/triptych-demo-0.ebuild,v 1.1 2004/12/08 04:33:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/triptych-demo/triptych-demo-0.ebuild,v 1.2 2004/12/14 00:12:44 vapier Exp $
inherit games eutils
@@ -29,3 +29,16 @@ src_install() {
prepgamesdirs
}
+
+pkg_postinst() {
+ # Fix perms on status files #74217
+ local f
+ for f in triptych.{clr,cnt,scr} ; do
+ f="${ROOT}/${GAMES_PREFIX_OPT}/${PN}/${f}"
+ if [[ ! -e ${f} ]] ; then
+ touch "${f}"
+ chmod 660 "${f}"
+ chown ${GAMES_USER}:${GAMES_GROUP} "${f}"
+ fi
+ done
+}