Fix: rights and embed packages into the APT-Package
All checks were successful
build-debian-package / Build the debian package (push) Successful in 4m25s

This commit is contained in:
2026-01-29 23:03:41 +01:00
parent 76feb7615d
commit 14cc769418
2 changed files with 6 additions and 3 deletions

View File

@@ -1,2 +1,4 @@
#!/bin/bash #!/bin/bash
adduser --system alumnihub adduser --system alumnihub
chown -R alumnihub:root /opt/alumnihub

View File

@@ -6,6 +6,8 @@ echo "Building oqtane.framework"
dotnet restore ./oqtane.framework/Oqtane.slnx dotnet restore ./oqtane.framework/Oqtane.slnx
dotnet build ./oqtane.framework/Oqtane.slnx dotnet build ./oqtane.framework/Oqtane.slnx
dotnet build -c Release ./oqtane.framework/Oqtane.slnx
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub
mkdir -p ./oqtane.framework/Oqtane.Server/Packages mkdir -p ./oqtane.framework/Oqtane.Server/Packages
@@ -20,8 +22,7 @@ do
dotnet publish -c Release ./$module/*.slnx dotnet publish -c Release ./$module/*.slnx
done done
dotnet build -c Release ./oqtane.framework/Oqtane.slnx cp ./oqtane.framework/Oqtane.Server/Packages ./alumnihub_10.0_amd64/opt/alumnihub/Packages
dotnet publish -c Release ./oqtane.framework/Oqtane.Server/Oqtane.Server.csproj -o ./alumnihub_10.0_amd64/opt/alumnihub
echo $VERSION $DEBIAN_PACKAGE_PATH echo $VERSION $DEBIAN_PACKAGE_PATH