aboutsummaryrefslogtreecommitdiff
path: root/www/yt-dlp/files
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-08-08 22:31:21 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-08-08 22:32:45 +0000
commit430987697d7ab9917e39b27c3e9a401c50a78949 (patch)
tree6da9d27bb13c3aff63df53ee42630d8360e52000 /www/yt-dlp/files
parent3fa619f5ec51ceef9272dfc512c767765d162e3c (diff)
downloadports-430987697d7ab9917e39b27c3e9a401c50a78949.tar.gz
ports-430987697d7ab9917e39b27c3e9a401c50a78949.zip
www/yt-dlp: Update 2022.07.18 -> 2022.08.08
Reported by: portscout
Diffstat (limited to 'www/yt-dlp/files')
-rw-r--r--www/yt-dlp/files/patch-yt__dlp_update.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/yt-dlp/files/patch-yt__dlp_update.py b/www/yt-dlp/files/patch-yt__dlp_update.py
index 964f4d186e10..43a64f0fcade 100644
--- a/www/yt-dlp/files/patch-yt__dlp_update.py
+++ b/www/yt-dlp/files/patch-yt__dlp_update.py
@@ -1,6 +1,6 @@
- this patch prevents -U from updating yt-dlp - it makes it "unrecognized"
---- yt_dlp/update.py.orig 2022-07-18 00:03:50 UTC
+--- yt_dlp/update.py.orig 2022-08-08 22:15:24 UTC
+++ yt_dlp/update.py
@@ -39,7 +39,7 @@ def _get_variant_and_executable_path():
@@ -15,8 +15,8 @@
**{variant: f'Auto-update is not supported for unpackaged {name} executable; Re-download the latest release'
for variant, name in {'win32_dir': 'Windows', 'darwin_dir': 'MacOS', 'linux_dir': 'Linux'}.items()},
'source': 'You cannot update when running from source code; Use git to pull the latest changes',
-- 'unknown': 'It looks like you installed yt-dlp with a package manager, pip or setup.py; Use that to update',
+- 'unknown': 'You installed yt-dlp with a package manager or setup.py; Use that to update',
+ 'unknown': 'Please use the command \'pkg upgrade yt-dlp\' to upgrade.',
- 'other': 'It looks like you are using an unofficial build of yt-dlp; Build the executable again',
+ 'other': 'You are using an unofficial build of yt-dlp; Build the executable again',
}