From 2c8584d9a9bebe5421ab3396d5d8ee3125fde8d6 Mon Sep 17 00:00:00 2001 From: Corbin Auriti Date: Fri, 24 Jan 2020 17:07:41 -0700 Subject: [PATCH] Fix linuxmint and add apache-php installer --- pystall/library.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pystall/library.py b/pystall/library.py index 19a53a8..52f63fa 100644 --- a/pystall/library.py +++ b/pystall/library.py @@ -53,6 +53,9 @@ micro : ZIPResource Instance to download and install micro console editor. NOTE: Not yet implemented, just downloads and extracts files. + +apache-php : APTResource + Instance to download and install a basic apache2 & php7.3 server. Examples @@ -77,7 +80,7 @@ DEBIAN_BASED = ["ubuntu", "zorin", - "lunixmint", + "linuxmint", "parrot", ] @@ -150,6 +153,8 @@ micro = TARBALLResource("Micro editor", "https://github.com/zyedidia/micro/releases/download/v1.4.1/micro-1.4.1-linux64.tar.gz") + apache-php = APTResource("Apache2 PHP Server", ["apache2", "php7.3*"]) + if distro.id() in ARCH_BASED: """TODO: Define arch equivalent resources here"""