Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

:zap: Also support upgrade packages

Benoît de Biolleye6a838ad50b4
diff --git a/app/Actions/Server/UpdatePackage.php b/app/Actions/Server/UpdatePackage.php
index ab0ca94943..d77d5b87ee 100644
--- a/app/Actions/Server/UpdatePackage.php
+++ b/app/Actions/Server/UpdatePackage.php
@@ -58,6 +58,10 @@ class UpdatePackage
$commandAll = 'pacman -Syu --noconfirm';
$commandInstall = 'pacman -S --noconfirm '.$sanitizedPackage;
break;
+ case 'apk':
+ $commandAll = 'apk update && apk upgrade';
+ $commandInstall = 'apk upgrade '.$package;
+ break;
default:
return [
'error' => 'OS not supported',