commit 253879ac7535895421d5dd1e22cc4bc10273eb02 parent 93fdfe5dc41364e78948c2d4bb06591dd0ce99ae Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 29 May 2020 10:17:23 +0200 Fix cwd with unprevililedged user Diffstat:
M | .local/bin/youtube-dl-upgrade | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.local/bin/youtube-dl-upgrade b/.local/bin/youtube-dl-upgrade @@ -1,2 +1,4 @@ #!/bin/sh +cd /tmp doas -u youtube-dl pip3.7 install --upgrade --user youtube-dl +cd - >/dev/null