summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-04-13 09:02:08 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-04-13 09:02:08 +0000
commitf72b1fd77af16efad2170d82229f6f3af9bea982 (patch)
tree0bc8b7df195344a052b8a168c542a97892d4f921 /app-laptop/prey
parentFix bzrtools herd, I mistakenly removed the wrong one. (diff)
downloadgentoo-2-f72b1fd77af16efad2170d82229f6f3af9bea982.tar.gz
gentoo-2-f72b1fd77af16efad2170d82229f6f3af9bea982.tar.bz2
gentoo-2-f72b1fd77af16efad2170d82229f6f3af9bea982.zip
Install modules before trying to modify them in src_install. Bug #411675
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop/prey')
-rw-r--r--app-laptop/prey/ChangeLog7
-rw-r--r--app-laptop/prey/prey-0.5.3.ebuild11
2 files changed, 10 insertions, 8 deletions
diff --git a/app-laptop/prey/ChangeLog b/app-laptop/prey/ChangeLog
index bf031d8c56f6..b55ed60ee82d 100644
--- a/app-laptop/prey/ChangeLog
+++ b/app-laptop/prey/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-laptop/prey
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/prey/ChangeLog,v 1.2 2011/10/31 17:15:40 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/prey/ChangeLog,v 1.3 2012/04/13 09:02:08 hwoarang Exp $
+
+ 13 Apr 2012; Markos Chandras <hwoarang@gentoo.org> prey-0.5.3.ebuild:
+ Install modules before trying to modify them in src_install. Bug #411675
31 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> prey-0.5.3.ebuild:
Fix media-video/mplayer USE depend from "v4l2" to "v4l" wrt #385241
diff --git a/app-laptop/prey/prey-0.5.3.ebuild b/app-laptop/prey/prey-0.5.3.ebuild
index bee77778b887..ea708283be1e 100644
--- a/app-laptop/prey/prey-0.5.3.ebuild
+++ b/app-laptop/prey/prey-0.5.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-laptop/prey/prey-0.5.3.ebuild,v 1.2 2011/10/31 17:15:40 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/prey/prey-0.5.3.ebuild,v 1.3 2012/04/13 09:02:08 hwoarang Exp $
EAPI=4
@@ -128,15 +128,14 @@ src_install() {
newins "$mod/config" "mod-$mod.conf"
use userpriv && { fowners root:${PN} "/etc/${PN}/mod-$mod.conf" ; }
fperms 660 "/etc/${PN}/mod-$mod.conf"
+ # Rest of the module in its expected location
+ insinto /usr/share/prey/modules
+ doins -r "$mod"
if [[ $mod == "lock" ]]; then
fperms 555 \
"/usr/share/${PN}/modules/lock/platform/linux/${PN}-lock"
fi
fi
-
- # Rest of the module in its expected location
- insinto /usr/share/prey/modules
- doins -r "$mod"
done
}