summaryrefslogtreecommitdiff
path: root/x11-wm/fvwm3/fvwm3-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/fvwm3/fvwm3-9999.ebuild')
-rw-r--r--x11-wm/fvwm3/fvwm3-9999.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11-wm/fvwm3/fvwm3-9999.ebuild b/x11-wm/fvwm3/fvwm3-9999.ebuild
index 46cdabe5b388..897728504f51 100644
--- a/x11-wm/fvwm3/fvwm3-9999.ebuild
+++ b/x11-wm/fvwm3/fvwm3-9999.ebuild
@@ -141,9 +141,11 @@ src_compile() {
src_install() {
emake DESTDIR="${ED}" prefix="/usr" exec_prefix="/usr" datarootdir="/usr/share" install
- dodir /etc/X11/Sessions
- echo "/usr/bin/fvwm3" > "${ED}/etc/X11/Sessions/${PN}" || die
- fperms a+x "/etc/X11/Sessions/${PN}" || die
+ exeinto /etc/X11/Sessions
+ newexe - ${PN} <<-EOF
+ #!/bin/sh
+ ${PN}
+ EOF
python_scriptinto "/usr/bin"
python_doscript "${ED}/usr/bin/FvwmCommand" "${ED}/usr/bin/fvwm-menu-desktop"