mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-04 22:38:34 +02:00
Updated install-calibre-server.ps1
This commit is contained in:
parent
1d560f756c
commit
0cae40f435
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#Requires -RunAsAdministrator
|
#Requires -RunAsAdministrator
|
||||||
|
|
||||||
param([int]$port = 8099, [string]$mediaFolder = "$HOME/Calibre Library", [string]$userDB = "$HOME/CalibreUsers.sqlite", [string]$logfile = "$HOME/CalibreServer.log")
|
param([int]$port = 8099, [string]$mediaFolder = "/opt/Calibre Library", [string]$userDB = "/opt/CalibreUsers.sqlite", [string]$logfile = "/opt/CalibreServer.log")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (-not $IsLinux) { throw "Sorry, currently only supported on Linux" }
|
if (-not $IsLinux) { throw "Sorry, currently only supported on Linux" }
|
||||||
|
Loading…
Reference in New Issue
Block a user