diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2021-11-27 16:34:26 -1000 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2021-11-27 16:36:01 -1000 |
commit | 0495a08b9e5fbf22803c65bde5cf43462bef0bb0 (patch) | |
tree | 608514e070abbdbb80b221a4f3c4d87ec6966f34 /app-laptop/tuxedo-control-center-bin | |
parent | media-libs/netpbm: drop v10.76.00 (diff) | |
download | gentoo-0495a08b9e5fbf22803c65bde5cf43462bef0bb0.tar.gz gentoo-0495a08b9e5fbf22803c65bde5cf43462bef0bb0.tar.bz2 gentoo-0495a08b9e5fbf22803c65bde5cf43462bef0bb0.zip |
app-laptop/tuxedo-control-center-bin: cleanups, fix init script
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'app-laptop/tuxedo-control-center-bin')
-rw-r--r-- | app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r2.ebuild (renamed from app-laptop/tuxedo-control-center-bin/tuxedo-control-center-bin-1.1.0-r1.ebuild) | 12 |
1 files changed, 6 insertions, 6 deletions
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 index 2f860b756324..fe2d893bd421 100644 --- 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 @@ -26,15 +26,15 @@ S="${WORKDIR}" src_prepare() { default - rm -rf usr/lib - mkdir files + rm -rf usr/lib || die "could not remove usr/lib" + mkdir files || die "could not create files dir" } src_install() { insinto / doins -r usr opt find . -type f -perm -a=x | while read f; do - chmod 0755 "${D}/${f}" + fperms 0755 "${f/./}" done dosym ../../opt/tuxedo-control-center/tuxedo-control-center /usr/bin/tuxedo-control-center @@ -48,7 +48,7 @@ src_install() { systemd_dounit opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tccd.service systemd_dounit opt/tuxedo-control-center/resources/dist/tuxedo-control-center/data/dist-data/tccd-sleep.service - doinitd "${FILESDIR}/tccd.initd" + newinitd "${FILESDIR}/tccd.initd" tccd } pkg_config() { @@ -69,8 +69,8 @@ pkg_postinst() { elog elog "You need to enable tccd and tccd-sleep service before running tuxedo-control-center" elog - elog "For your convenience you may just call:" - elog " emerge --config =${P}" + elog "For your convenience, if you use systemd, you may just call:" + elog " emerge --config =app-laptop/${PF}" elog } |