summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2007-03-23 17:01:09 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2007-03-23 17:01:09 +0000
commit23bdf540711d6a226bf0e3e563c4897f894a3047 (patch)
tree5fe750c71b0aac2c75ff7e4720d1b0acb9580dea /dev-dotnet
parentversion bump (diff)
downloadgentoo-2-23bdf540711d6a226bf0e3e563c4897f894a3047.tar.gz
gentoo-2-23bdf540711d6a226bf0e3e563c4897f894a3047.tar.bz2
gentoo-2-23bdf540711d6a226bf0e3e563c4897f894a3047.zip
fix scripts
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-dotnet')
-rw-r--r--dev-dotnet/pe-format/ChangeLog7
-rw-r--r--dev-dotnet/pe-format/files/pe-format.init7
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-dotnet/pe-format/ChangeLog b/dev-dotnet/pe-format/ChangeLog
index de8adb6767f7..38553a9f788b 100644
--- a/dev-dotnet/pe-format/ChangeLog
+++ b/dev-dotnet/pe-format/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-dotnet/pe-format
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pe-format/ChangeLog,v 1.7 2007/02/14 19:39:29 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pe-format/ChangeLog,v 1.8 2007/03/23 17:01:09 compnerd Exp $
+
+ 23 Mar 2007; Saleem Abdulrasool <compnerd@gentoo.org>
+ files/pe-format.init:
+ Update the scripts to fix reference to the wrong file and use of exit (bug
+ #170846)
14 Feb 2007; Gustavo Zacarias <gustavoz@gentoo.org> pe-format-0.ebuild:
Keyworded ~sparc
diff --git a/dev-dotnet/pe-format/files/pe-format.init b/dev-dotnet/pe-format/files/pe-format.init
index 74735a40926a..86aff1e7b232 100644
--- a/dev-dotnet/pe-format/files/pe-format.init
+++ b/dev-dotnet/pe-format/files/pe-format.init
@@ -1,14 +1,14 @@
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pe-format/files/pe-format.init,v 1.1 2006/12/21 00:53:52 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/pe-format/files/pe-format.init,v 1.2 2007/03/23 17:01:09 compnerd Exp $
start() {
ebegin "Registering PE binaries with ${CLR}"
if [[ ! -d /proc/sys/fs/binfmt_misc ]] ; then
eerror "You need support for \"misc binaries\" in your kernel!"
- exit 1
+ eend 1
fi
if [[ $(mount | grep -c binfmt_misc) -eq 0 ]] ; then
@@ -17,7 +17,6 @@ start() {
if [[ $result -ne 0 ]] ; then
eend $result
- exit $result
fi
fi
@@ -31,7 +30,7 @@ start() {
eend 0
;;
*)
- eerror 'Please enter a valid option in /etc/conf.d/dotnet'
+ eerror 'Please enter a valid option in /etc/conf.d/pe-format'
eend 1
;;
esac