mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-07 10:14:13 -04:00
Updating the pkgbuild & no attachments listing
This commit is contained in:
parent
13393927ae
commit
532c422fa2
@ -51,7 +51,9 @@ namespace Kyoo.Controllers
|
|||||||
{
|
{
|
||||||
if (path == null)
|
if (path == null)
|
||||||
throw new ArgumentNullException(nameof(path));
|
throw new ArgumentNullException(nameof(path));
|
||||||
return Task.FromResult<ICollection<string>>(Directory.GetFiles(path));
|
return Task.FromResult<ICollection<string>>(Directory.Exists(path)
|
||||||
|
? Directory.GetFiles(path)
|
||||||
|
: Array.Empty<string>());
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task<bool> Exists(string path)
|
public Task<bool> Exists(string path)
|
||||||
|
@ -8,8 +8,8 @@ arch=("i686" "x86_64" "armv6h")
|
|||||||
url="https://github.com/AnonymusRaccoon/Kyoo"
|
url="https://github.com/AnonymusRaccoon/Kyoo"
|
||||||
license=("GPLv3")
|
license=("GPLv3")
|
||||||
groups=()
|
groups=()
|
||||||
depends=("dotnet-runtime-bin>=5" "aspnet-runtime-bin>=5" "postgresql")
|
depends=("dotnet-runtime>=5" "aspnet-runtime>=5" "postgresql")
|
||||||
makedepends=("dotnet-sdk-bin>=5" "cmake" "gcc" "make" "npm" "git")
|
makedepends=("dotnet-sdk>=5" "cmake" "gcc" "make" "npm" "git")
|
||||||
install="kyoo.install"
|
install="kyoo.install"
|
||||||
source=("git+https://github.com/AnonymusRaccoon/Kyoo" #tag=v${pkgver}
|
source=("git+https://github.com/AnonymusRaccoon/Kyoo" #tag=v${pkgver}
|
||||||
"kyoo.service"
|
"kyoo.service"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
post_install() {
|
post_install() {
|
||||||
|
sudo -u postgres dropuser kyoo --if-exist
|
||||||
sudo -u postgres createuser -d kyoo
|
sudo -u postgres createuser -d kyoo
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user