Permalink
Comparing changes
Open a pull request
There isn’t anything to compare.
master and debian are entirely different commit histories.
Unified
Split
Showing
with
8 additions
and 3 deletions.
- +6 −0 debian/changelog
- +0 −1 debian/control
- +2 −2 debian/postrm
| @@ -1,3 +1,9 @@ | |||
| xsuspender (1.1-1) UNRELEASED; urgency=low | |||
|
|
|||
| * Upstream 1.1 release. | |||
|
|
|||
| -- Kernc <kerncece@gmail.com> Sun, 20 Jan 2019 16:49:46 +0100 | |||
|
|
|||
| xsuspender (1.0-1~rc0) UNRELEASED; urgency=low | |||
|
|
|||
| * Initial release candidate. | |||
| @@ -17,7 +17,6 @@ Architecture: any | |||
| Depends: ${misc:Depends} | |||
| , ${shlibs:Depends} | |||
| , procps | |||
| , awk | |||
| Description: Auto-suspend inactive X11 applications | |||
| XSuspender configurably suspends GUI applications shortly after | |||
| its windows become unfocused to extend battery life. When | |||
| @@ -21,8 +21,8 @@ set -e | |||
| case "$1" in | |||
| purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) | |||
|
|
|||
| if command -v pgrep >/dev/null; then | |||
| pgrep -f /usr/bin/xsuspender | xargs -r -- kill -TERM | |||
| if command -v pkill >/dev/null; then | |||
| pkill -TERM -f /usr/bin/xsuspender | |||
| fi | |||
|
|
|||
| ;; | |||