Installing the TVDB provider in the makefile

This commit is contained in:
Zoe Roux 2020-01-25 17:15:53 +01:00
parent d18000a9c8
commit 57c5cefaf8

View File

@ -47,7 +47,7 @@ transcoder: ffmpeg
$(ECHO) "$(COL)Transcoder built$(NOCOL)" $(ECHO) "$(COL)Transcoder built$(NOCOL)"
install: all install_kyoo: all
$(ECHO) "$(COL)Building the app$(NOCOL)" $(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 @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 dotnet publish -c Release -o /opt/kyoo Kyoo/Kyoo.csproj
@ -56,4 +56,7 @@ install: all
chgrp -R kyoo /opt/kyoo chgrp -R kyoo /opt/kyoo
chmod +x /opt/kyoo/kyoo.sh 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 .PHONY = all dependencies ffmpeg transcoder