Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-laptop/laptop-mode-tools/files: laptop-mode-tools-1.60-pm-utils-1.4.0.patch
Date: Sun, 01 Jan 2012 16:04:43
Message-Id: 20120101160434.385302004C@flycatcher.gentoo.org
1 hwoarang 12/01/01 16:04:34
2
3 Added: laptop-mode-tools-1.60-pm-utils-1.4.0.patch
4 Log:
5 Non maintainer version bump. Bug #359187. Thanks to Ondrej Grover <ondrej.grover@×××××.com>
6
7 (Portage version: 2.2.0_alpha82/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.60-pm-utils-1.4.0.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.60-pm-utils-1.4.0.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.60-pm-utils-1.4.0.patch?rev=1.1&content-type=text/plain
14
15 Index: laptop-mode-tools-1.60-pm-utils-1.4.0.patch
16 ===================================================================
17 Index: laptop-mode-tools_1.60/install.sh
18 ===================================================================
19 --- laptop-mode-tools_1.60.orig/install.sh
20 +++ laptop-mode-tools_1.60/install.sh
21 @@ -180,15 +180,6 @@ if ( ! $INSTALL -m 744 man/* "$DESTDIR/$
22 fi
23
24
25 -# Install pm-utils hook only if pm-utils config dir is present, or force the
26 -# install if we have a DESTDIR.
27 -if [ -n "$DESTDIR" -o -d "$DESTDIR/usr/lib/pm-utils/sleep.d" ] ; then
28 - if ( ! $INSTALL -D -m 755 usr/lib/pm-utils/sleep.d/01laptop-mode "$DESTDIR/usr/lib/pm-utils/sleep.d/01laptop-mode" ) ; then
29 - echo "$0: Failed to install 01-laptop-mode into /usr/lib/pm-utils/sleep.d. Installation failed."
30 - exit 36
31 - fi
32 -fi
33 -
34 if [ -f "$DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode" ]; then
35 rm -f $DESTDIR/usr/lib/pm-utils/sleep.d/99laptop-mode;
36 fi