mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-03 19:17:16 -05: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)
 | 
			
		||||
				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)
 | 
			
		||||
 | 
			
		||||
@ -8,8 +8,8 @@ arch=("i686" "x86_64" "armv6h")
 | 
			
		||||
url="https://github.com/AnonymusRaccoon/Kyoo"
 | 
			
		||||
license=("GPLv3")
 | 
			
		||||
groups=()
 | 
			
		||||
depends=("dotnet-runtime-bin>=5" "aspnet-runtime-bin>=5" "postgresql")
 | 
			
		||||
makedepends=("dotnet-sdk-bin>=5" "cmake" "gcc" "make" "npm" "git")
 | 
			
		||||
depends=("dotnet-runtime>=5" "aspnet-runtime>=5" "postgresql")
 | 
			
		||||
makedepends=("dotnet-sdk>=5" "cmake" "gcc" "make" "npm" "git")
 | 
			
		||||
install="kyoo.install"
 | 
			
		||||
source=("git+https://github.com/AnonymusRaccoon/Kyoo" #tag=v${pkgver}
 | 
			
		||||
	"kyoo.service"
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,4 @@
 | 
			
		||||
post_install() {
 | 
			
		||||
	sudo -u postgres dropuser kyoo --if-exist
 | 
			
		||||
	sudo -u postgres createuser -d kyoo
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user