ytfzf: 1.1.5 -> 1.1.6 (#124119)

https://github.com/pystardust/ytfzf/releases/tag/v1.1.6
This commit is contained in:
Robert Schütz 2021-05-24 12:21:28 +02:00 committed by GitHub
parent a57e8bef58
commit 6e72346fc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ytfzf"; pname = "ytfzf";
version = "1.1.5"; version = "1.1.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pystardust"; owner = "pystardust";
repo = "ytfzf"; repo = "ytfzf";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-NkJjh/Ys0Ypm8NTy/ZrQ4hIAjP5VGrpU73wjAMsZnAc="; sha256 = "sha256-HXn/8Lrt6tNZWW1AeKMArOiW9t1v7MzlynSLryNdI5Y=";
}; };
patches = [ patches = [

View file

@ -1,8 +1,8 @@
diff --git a/ytfzf b/ytfzf diff --git a/ytfzf b/ytfzf
index 42f41c0..f75f5cb 100755 index d5ff8c9..96f9c8f 100755
--- a/ytfzf --- a/ytfzf
+++ b/ytfzf +++ b/ytfzf
@@ -892,23 +892,8 @@ send_notify () { @@ -934,23 +934,8 @@ send_notify () {
} }
update_ytfzf () { update_ytfzf () {
@ -10,7 +10,7 @@ index 42f41c0..f75f5cb 100755
- updatefile="/tmp/ytfzf-update" - updatefile="/tmp/ytfzf-update"
- curl -L "https://raw.githubusercontent.com/pystardust/ytfzf/$branch/ytfzf" -o "$updatefile" - curl -L "https://raw.githubusercontent.com/pystardust/ytfzf/$branch/ytfzf" -o "$updatefile"
- -
- if sed -n '1p' < "$updatefile" | grep -q '#!/bin/sh' ; then - if sed -n '1p' < "$updatefile" | grep -q '#!/bin/sh'; then
- chmod 755 "$updatefile" - chmod 755 "$updatefile"
- if [ "$(uname)" = "Darwin" ]; then - if [ "$(uname)" = "Darwin" ]; then
- sudo cp "$updatefile" "/usr/local/bin/ytfzf" - sudo cp "$updatefile" "/usr/local/bin/ytfzf"
@ -27,4 +27,4 @@ index 42f41c0..f75f5cb 100755
+ exit 1 + exit 1
} }
scrape_subscriptions () { sort_video_data_date () {