mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
multimedia/ytfzf: Update to 1.2.0
This commit is contained in:
parent
02c1630da8
commit
8bfb9ea01c
@ -1,6 +1,6 @@
|
||||
PORTNAME= ytfzf
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.1.6
|
||||
DISTVERSION= 1.2.0
|
||||
CATEGORIES= multimedia
|
||||
|
||||
MAINTAINER= 0mp@FreeBSD.org
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1621770324
|
||||
SHA256 (pystardust-ytfzf-v1.1.6_GH0.tar.gz) = c700e0e9b2f0d55b962fc3f28e48d68c00c686d06f7cbfe33032def6169b1aef
|
||||
SIZE (pystardust-ytfzf-v1.1.6_GH0.tar.gz) = 3223006
|
||||
TIMESTAMP = 1625097159
|
||||
SHA256 (pystardust-ytfzf-v1.2.0_GH0.tar.gz) = 244205d59f4fbab30c87740b7181c387a1892e23d8e20a034adcfaa686130fa7
|
||||
SIZE (pystardust-ytfzf-v1.2.0_GH0.tar.gz) = 3229824
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- ytfzf.orig 2021-04-17 13:32:28 UTC
|
||||
--- ytfzf.orig 2021-06-26 05:44:53 UTC
|
||||
+++ ytfzf
|
||||
@@ -861,7 +861,7 @@ play_url () {
|
||||
delete_thumbnails () {
|
||||
session_count=0
|
||||
while read -r pid; do
|
||||
- [ -d /proc/"$pid" ] && session_count=$(( session_count + 1 ))
|
||||
+ kill -0 "$pid" 2>/dev/null && session_count=$(( session_count + 1 ))
|
||||
done < "$pid_file"
|
||||
if [ $session_count -eq 1 ] ; then
|
||||
[ -d "$thumb_dir" ] && rm -r "$thumb_dir"
|
||||
@@ -1095,7 +1095,7 @@ play_url () {
|
||||
session_is_running () {
|
||||
session_count=0
|
||||
while read -r pid; do
|
||||
- [ -d /proc/"$pid" ] && session_count=$(( session_count + 1 ))
|
||||
+ kill -0 "$pid" 2>/dev/null && session_count=$(( session_count + 1 ))
|
||||
done < "$pid_file"
|
||||
[ $session_count -eq 1 ] && return 1 || return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user