summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2013-02-07 20:27:49 +0000
committerFabian Groffen <grobian@gentoo.org>2013-02-07 20:27:49 +0000
commit7abd2e38c184e2d565a64665df838cea5c3ecf78 (patch)
tree9abba62b7d1b81b2f0e9be46caf31cd0ce92e854 /sys-apps/baselayout-prefix
parentversion bump wrt #452264 (diff)
downloadgentoo-2-7abd2e38c184e2d565a64665df838cea5c3ecf78.tar.gz
gentoo-2-7abd2e38c184e2d565a64665df838cea5c3ecf78.tar.bz2
gentoo-2-7abd2e38c184e2d565a64665df838cea5c3ecf78.zip
add dummy sbin/runscript to make Portage's shebang check happy for all init scripts being installed
(Portage version: 2.2.01.21688-prefix/cvs/Darwin i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'sys-apps/baselayout-prefix')
-rw-r--r--sys-apps/baselayout-prefix/ChangeLog9
-rw-r--r--sys-apps/baselayout-prefix/baselayout-prefix-2.2-r2.ebuild (renamed from sys-apps/baselayout-prefix/baselayout-prefix-2.2-r1.ebuild)12
2 files changed, 19 insertions, 2 deletions
diff --git a/sys-apps/baselayout-prefix/ChangeLog b/sys-apps/baselayout-prefix/ChangeLog
index c9426e3ecc32..7d7113351a79 100644
--- a/sys-apps/baselayout-prefix/ChangeLog
+++ b/sys-apps/baselayout-prefix/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/baselayout-prefix
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog,v 1.22 2013/01/10 15:42:13 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/ChangeLog,v 1.23 2013/02/07 20:27:49 grobian Exp $
+
+*baselayout-prefix-2.2-r2 (07 Feb 2013)
+
+ 07 Feb 2013; Fabian Groffen <grobian@gentoo.org>
+ +baselayout-prefix-2.2-r2.ebuild, -baselayout-prefix-2.2-r1.ebuild:
+ add dummy sbin/runscript to make Portage's shebang check happy for all init
+ scripts being installed
*baselayout-prefix-2.2-r1 (10 Jan 2013)
diff --git a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r1.ebuild b/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r2.ebuild
index e46fd672832b..d97362c2d9f6 100644
--- a/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r1.ebuild
+++ b/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r1.ebuild,v 1.1 2013/01/10 15:42:13 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout-prefix/baselayout-prefix-2.2-r2.ebuild,v 1.1 2013/02/07 20:27:49 grobian Exp $
EAPI=3
@@ -66,6 +66,16 @@ src_install() {
# FHS compatibility symlinks stuff
dosym /var/tmp /usr/tmp
+
+ # add a dummy to avoid Portage shebang errors
+ dodir sbin
+ cat > "${ED}"/sbin/runscript <<- EOF
+ #!${BASH}
+
+ echo "runscript not supported by Gentoo Prefix Base System release ${PV}" 1>&2
+ exit 1
+ EOF
+ chmod 755 "${ED}"/sbin/runscript || die
}
pkg_postinst() {