From d55c9d99b1268b16c019ca89ba516b2c5f93232f Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 2 Apr 2020 13:48:50 -0400 Subject: actually apply those fixes --- src/Makefile | 3 +-- src/usr/bin/logout-manager-trayicon | 4 ++-- src/usr/share/logout-manager/lmlib.py | 2 +- src/usr/share/man/man7/logout-manager.7.md | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 009da93..28b65c8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -98,8 +98,7 @@ ifeq ($(md2manbin),) @false endif ${installbin} -d ${MANDIR}/man1 ${MANDIR}/man5 ${MANDIR}/man7 - @#${md2manbin} < ${SRCDIR}/usr/share/man/man6/${APPNAME}.6.md | ${gzipbin} > ${MANDIR}/man6/${APPNAME}.6.gz - for tm in $$( ${findbin} ${SRCDIR}/usr/share/man ! -type d -name '*[0-9].md' -printf '%P\n' ) ; do ${md2manbin} < ${SRCDIR}/usr/share/man/$${tm} > ${MANDIR}/$${tm%%.md}.gz ; done + for tm in $$( ${findbin} ${SRCDIR}/usr/share/man ! -type d -name '*[0-9].md' -printf '%P\n' ) ; do ${md2manbin} < ${SRCDIR}/usr/share/man/$${tm} | ${gzipbin} > ${MANDIR}/$${tm%%.md}.gz ; done uninstall: @${echobin} SRCDIR=${SRCDIR} diff --git a/src/usr/bin/logout-manager-trayicon b/src/usr/bin/logout-manager-trayicon index 7a6fd25..4aed3b5 100755 --- a/src/usr/bin/logout-manager-trayicon +++ b/src/usr/bin/logout-manager-trayicon @@ -20,8 +20,8 @@ # send signals https://stackoverflow.com/questions/15080500/how-can-i-send-a-signal-from-a-python-program # https://docs.python.org/3.8/library/signal.html#module-signal # Dependencies: -# dep-pip: psutil distro -# dep-devuan: python3-psutil python3-distro +# dep-pip: psutil, distro +# dep-devuan: python3-psutil, python3-distro import gi, os, re, sys, psutil, signal from distro import linux_distribution diff --git a/src/usr/share/logout-manager/lmlib.py b/src/usr/share/logout-manager/lmlib.py index ba4980b..3bcbc32 100644 --- a/src/usr/share/logout-manager/lmlib.py +++ b/src/usr/share/logout-manager/lmlib.py @@ -13,7 +13,7 @@ # Improve: # Documentation: # Dependencies: -# dep-devuan: python3-distro +# dep-devuan: python3-distro, python3:any import configparser, os, subprocess from distro import linux_distribution diff --git a/src/usr/share/man/man7/logout-manager.7.md b/src/usr/share/man/man7/logout-manager.7.md index de4d05e..339d99b 100644 --- a/src/usr/share/man/man7/logout-manager.7.md +++ b/src/usr/share/man/man7/logout-manager.7.md @@ -11,7 +11,7 @@ This program manages a list of options for common logout commands, and can be us `logout-manager-tcl`(1) `logout-manager-trayicon`(1) -Of the listed front-ends, the trayicon is not recommended for aliasing to the generic name `logout-manager`. +Of the listed front-ends, the trayicon and cli are not recommended for aliasing to the short name `logout-manager`. The library for logout-manager uses a number of environment variables; see below. # ENVIRONMENT VARIABLES @@ -42,4 +42,4 @@ bgstack15 `https://bgstack15.wordpress.com/` # COPYRIGHT CC-BY-SA 4.0 # SEE ALSO -`logout-manager.conf`(5),`logout-manager-cli`(1),`logout-manager-gtk`(1),`logout-manager-ncurses`(1),`logout-manager-tcl`(1),`logout-manager-trayicon`(1), +`logout-manager.conf`(5), `logout-manager-cli`(1), `logout-manager-gtk`(1), `logout-manager-ncurses`(1), `logout-manager-tcl`(1), `logout-manager-trayicon`(1) -- cgit