summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-backup/backuppc/ChangeLog5
-rw-r--r--app-backup/backuppc/backuppc-3.2.1-r2.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/app-backup/backuppc/ChangeLog b/app-backup/backuppc/ChangeLog
index a821869f455a..ddbfe91a5e1f 100644
--- a/app-backup/backuppc/ChangeLog
+++ b/app-backup/backuppc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-backup/backuppc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/ChangeLog,v 1.12 2011/09/01 10:43:45 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/ChangeLog,v 1.13 2011/09/01 10:46:38 patrick Exp $
+
+ 01 Sep 2011; Patrick Lauer <patrick@gentoo.org> backuppc-3.2.1-r2.ebuild:
+ More better fix for init script
*backuppc-3.2.1-r2 (01 Sep 2011)
diff --git a/app-backup/backuppc/backuppc-3.2.1-r2.ebuild b/app-backup/backuppc/backuppc-3.2.1-r2.ebuild
index fafc8239a69e..9a95facbd8e2 100644
--- a/app-backup/backuppc/backuppc-3.2.1-r2.ebuild
+++ b/app-backup/backuppc/backuppc-3.2.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/backuppc-3.2.1-r2.ebuild,v 1.1 2011/09/01 10:43:45 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/backuppc/backuppc-3.2.1-r2.ebuild,v 1.2 2011/09/01 10:46:38 patrick Exp $
EAPI="2"
@@ -67,7 +67,7 @@ src_prepare() {
sed -i "s+__DOCDIR__+/usr/share/doc/${PF}+" "lib/BackupPC/CGI/View.pm"
epatch "${FILESDIR}/3.2.0/05-nicelevel.patch"
- sed -i -e 's/--chuid/--user/' "${S}"/init.d/src/gentoo-backuppc || die "Failed to fix the init script"
+ sed -i -e 's/--chuid ${USER}//' "${S}"/init.d/src/gentoo-backuppc || die "Failed to fix the init script"
}
src_test() {