From 57c5cefaf8a4f2e4bb5c0aa5f41fe15860ce9c6d Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 25 Jan 2020 17:15:53 +0100 Subject: [PATCH] Installing the TVDB provider in the makefile --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c1f33c69..dbac1d87 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ transcoder: ffmpeg $(ECHO) "$(COL)Transcoder built$(NOCOL)" -install: all +install_kyoo: all $(ECHO) "$(COL)Building the app$(NOCOL)" @if ! [[ $$(mkdir --parent /opt/kyoo) -eq 0 && -w /opt/kyoo ]]; then echo -e "$(RED)You don't have permissions to install Kyoo. Try to re run with sudo privileges.$(NOCOL)"; exit 1; fi dotnet publish -c Release -o /opt/kyoo Kyoo/Kyoo.csproj @@ -56,4 +56,7 @@ install: all chgrp -R kyoo /opt/kyoo chmod +x /opt/kyoo/kyoo.sh +install: install_kyoo + curl https://raw.githubusercontent.com/AnonymusRaccoon/Kyoo.TheTVDB/master/install.sh | sh + .PHONY = all dependencies ffmpeg transcoder