1 |
commit: 0495a08b9e5fbf22803c65bde5cf43462bef0bb0 |
2 |
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 28 02:34:26 2021 +0000 |
4 |
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 28 02:36:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0495a08b |
7 |
|
8 |
app-laptop/tuxedo-control-center-bin: cleanups, fix init script |
9 |
|
10 |
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org> |
11 |
|
12 |
...0-r1.ebuild => tuxedo-control-center-bin-1.1.0-r2.ebuild} | 12 ++++++------ |
13 |
1 file changed, 6 insertions(+), 6 deletions(-) |
14 |
|
15 |
diff --git a/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r1.ebuild b/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r2.ebuild |
16 |
similarity index 86% |
17 |
rename from app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r1.ebuild |
18 |
rename to app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r2.ebuild |
19 |
index 2f860b756324..fe2d893bd421 100644 |
20 |
--- a/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r1.ebuild |
21 |
+++ b/app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r2.ebuild |
22 |
@@ -26,15 +26,15 @@ S="${WORKDIR}" |
23 |
|
24 |
src_prepare() { |
25 |
default |
26 |
- rm -rf usr/lib |
27 |
- mkdir files |
28 |
+ rm -rf usr/lib || die "could not remove usr/lib" |
29 |
+ mkdir files || die "could not create files dir" |
30 |
} |
31 |
|
32 |
src_install() { |
33 |
insinto / |
34 |
doins -r usr opt |
35 |
find . -type f -perm -a=x | while read f; do |
36 |
- chmod 0755 "${D}/${f}" |
37 |
+ fperms 0755 "${f/./}" |
38 |
done |
39 |
|
40 |
dosym ../../opt/tuxedo-control-center/tuxedo-control-center /usr/bin/tuxedo-control-center |
41 |
@@ -48,7 +48,7 @@ src_install() { |
42 |
systemd_dounit opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tccd.service |
43 |
systemd_dounit opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tccd-sleep.service |
44 |
|
45 |
- doinitd "${FILESDIR}/tccd.initd" |
46 |
+ newinitd "${FILESDIR}/tccd.initd" tccd |
47 |
} |
48 |
|
49 |
pkg_config() { |
50 |
@@ -69,8 +69,8 @@ pkg_postinst() { |
51 |
elog |
52 |
elog "You need to enable tccd and tccd-sleep service before running tuxedo-control-center" |
53 |
elog |
54 |
- elog "For your convenience you may just call:" |
55 |
- elog " emerge --config =${P}" |
56 |
+ elog "For your convenience, if you use systemd, you may just call:" |
57 |
+ elog " emerge --config =app-laptop/${PF}" |
58 |
elog |
59 |
} |