ytfzf: 1.1.1 -> 1.1.2 (#118393)
Co-authored-by: Robert Schütz <rschuetz17@gmail.com>
This commit is contained in:
parent
f50f8e302c
commit
dcbcfae56e
@ -16,13 +16,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ytfzf";
|
pname = "ytfzf";
|
||||||
version = "1.1.1";
|
version = "1.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pystardust";
|
owner = "pystardust";
|
||||||
repo = "ytfzf";
|
repo = "ytfzf";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-286rN3g6leSnbZZ0VjWl43nhBAMPJDUMv7DhgVTsjKw=";
|
sha256 = "09az557479d3s1my46d2w86ndkvs2xi127kaw0csag0wlq2qq10p";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
diff --git a/ytfzf b/ytfzf
|
diff --git a/ytfzf b/ytfzf
|
||||||
index f7871c7..179c836 100755
|
index 42f41c0..f75f5cb 100755
|
||||||
--- a/ytfzf
|
--- a/ytfzf
|
||||||
+++ b/ytfzf
|
+++ b/ytfzf
|
||||||
@@ -829,23 +829,8 @@ send_notify () {
|
@@ -892,23 +892,8 @@ send_notify () {
|
||||||
}
|
}
|
||||||
|
|
||||||
update_ytfzf () {
|
update_ytfzf () {
|
||||||
- local branch="$1"
|
- branch="$1"
|
||||||
- local 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user