From f4fe7bdfb73b57355982eb50c1562d8cb76ce2b3 Mon Sep 17 00:00:00 2001
From: Toastie <toastie@toastiet0ast.com>
Date: Sat, 21 Dec 2024 23:55:10 +1300
Subject: [PATCH] install yt-dlp as a user

---
 e-prereq.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/e-prereq.sh b/e-prereq.sh
index 7577462..ec7b030 100644
--- a/e-prereq.sh
+++ b/e-prereq.sh
@@ -4,8 +4,8 @@ root=$(pwd)
 echo ""
 
 function INSTALL_YTDLP {
-    sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
-    sudo chmod a+rx /usr/local/bin/yt-dlp
+    wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O ~/.local/bin/yt-dlp
+    chmod a+rx ~/.local/bin/yt-dlp
 }
 
 wget -q -N https://toastielab.dev/Emotions-stuff/ellie-bash-installer/raw/branch/v5/detectOS.sh