diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rwxr-xr-x | benny-hill | 3 |
3 files changed, 5 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = benny-hill pkgdesc = Play the Benny Hill theme while running another command - pkgver = 0.0.1 + pkgver = 0.0.2 pkgrel = 1 url = https://github.com/Tyilo/albert-extensions arch = any @@ -10,7 +10,7 @@ pkgbase = benny-hill depends = twolame source = benny-hill source = https://github.com/mafintosh/benny-hill/blob/master/theme.mp3?raw=true - sha256sums = 99c5aa30f43a75dbd81fda811606dd75ea8f081f4d52a794d10b0038ec00dcff + sha256sums = a9f598e606215f5cc4c775e6115bfe8419f2a8ace0525445c1c6d52cd47167ff sha256sums = b8e9774023ebe20e27bfb7ae139cbe994f05690f7c8ec9835ff5f0d94ec45fc7 pkgname = benny-hill @@ -1,6 +1,6 @@ # Maintainer: Asger Hautop Drewsen <asgerdrewsen@gmail.com> pkgname=benny-hill -pkgver=0.0.1 +pkgver=0.0.2 pkgrel=1 pkgdesc="Play the Benny Hill theme while running another command" arch=('any') @@ -11,7 +11,7 @@ source=( "benny-hill" "https://github.com/mafintosh/benny-hill/blob/master/theme.mp3?raw=true" ) -sha256sums=('99c5aa30f43a75dbd81fda811606dd75ea8f081f4d52a794d10b0038ec00dcff' +sha256sums=('a9f598e606215f5cc4c775e6115bfe8419f2a8ace0525445c1c6d52cd47167ff' 'b8e9774023ebe20e27bfb7ae139cbe994f05690f7c8ec9835ff5f0d94ec45fc7') package() { diff --git a/benny-hill b/benny-hill index 81b608ad281a..5946af25cd3c 100755 --- a/benny-hill +++ b/benny-hill @@ -1,5 +1,4 @@ #!/bin/bash -trap "exit" INT TERM -trap "kill 0" EXIT +trap '[ -n "$(jobs -pr)" ] && kill $(jobs -pr)' SIGINT SIGQUIT SIGTERM EXIT play -q /opt/benny-hill/benny-hill.mp3 repeat - & "$@" |