ytfzf: 1.1.1 -> 1.1.2 (#118393)

Co-authored-by: Robert Schütz <rschuetz17@gmail.com>
This commit is contained in:
WSchnee 2021-04-03 13:59:27 +02:00 committed by GitHub
parent f50f8e302c
commit dcbcfae56e
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 {
pname = "ytfzf";
version = "1.1.1";
version = "1.1.2";
src = fetchFromGitHub {
owner = "pystardust";
repo = "ytfzf";
rev = "v${version}";
sha256 = "sha256-286rN3g6leSnbZZ0VjWl43nhBAMPJDUMv7DhgVTsjKw=";
sha256 = "09az557479d3s1my46d2w86ndkvs2xi127kaw0csag0wlq2qq10p";
};
patches = [

View File

@ -1,13 +1,13 @@
diff --git a/ytfzf b/ytfzf
index f7871c7..179c836 100755
index 42f41c0..f75f5cb 100755
--- a/ytfzf
+++ b/ytfzf
@@ -829,23 +829,8 @@ send_notify () {
@@ -892,23 +892,8 @@ send_notify () {
}
update_ytfzf () {
- local branch="$1"
- local updatefile="/tmp/ytfzf-update"
- branch="$1"
- updatefile="/tmp/ytfzf-update"
- curl -L "https://raw.githubusercontent.com/pystardust/ytfzf/$branch/ytfzf" -o "$updatefile"
-
- if sed -n '1p' < "$updatefile" | grep -q '#!/bin/sh' ; then