ytfzf: 1.1.0 -> 1.1.1

This commit is contained in:
Robert Schütz 2021-03-25 09:09:45 +01:00
parent 43b02818f6
commit cbd89b2a5f
2 changed files with 7 additions and 7 deletions

View File

@ -16,13 +16,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ytfzf"; pname = "ytfzf";
version = "1.1.0"; version = "1.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pystardust"; owner = "pystardust";
repo = "ytfzf"; repo = "ytfzf";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ATQRXYaIp1MKCO/EAPsopzFEZeNJzdk73/OcgjsMdkg="; sha256 = "sha256-286rN3g6leSnbZZ0VjWl43nhBAMPJDUMv7DhgVTsjKw=";
}; };
patches = [ patches = [

View File

@ -1,13 +1,13 @@
diff --git a/ytfzf b/ytfzf diff --git a/ytfzf b/ytfzf
index 5238682..c5c3a1a 100755 index f7871c7..179c836 100755
--- a/ytfzf --- a/ytfzf
+++ b/ytfzf +++ b/ytfzf
@@ -757,23 +757,8 @@ clear_history () { @@ -829,23 +829,8 @@ send_notify () {
} }
update_ytfzf () { update_ytfzf () {
- branch="$1" - local branch="$1"
- updatefile="/tmp/ytfzf-update" - local 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
@ -27,4 +27,4 @@ index 5238682..c5c3a1a 100755
+ exit 1 + exit 1
} }
scrape_subscriptions () {