Added ubuntu support to the nextcloud.js app
This commit is contained in:
parent
fa2d20e72d
commit
cfcfe6d5ca
@ -10,10 +10,6 @@ module.exports = {
|
|||||||
description: "Zugriff prüfen",
|
description: "Zugriff prüfen",
|
||||||
command: "if [ $EUID -ne 0 ]; then exit 1; fi"
|
command: "if [ $EUID -ne 0 ]; then exit 1; fi"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
description: "Betriebssystem prüfen",
|
|
||||||
command: "if [ $(lsb_release -si) != \"Debian\" ]; then exit 1; fi"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
description: "Installationsort prüfen",
|
description: "Installationsort prüfen",
|
||||||
command: "if [ -d {folder} ]; then exit 1; fi"
|
command: "if [ -d {folder} ]; then exit 1; fi"
|
||||||
@ -24,13 +20,18 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
description: "PHP installieren",
|
description: "PHP installieren",
|
||||||
command: "apt install -y sudo lsb-release ca-certificates apt-transport-https software-properties-common gnupg2"
|
command: "apt install -y sudo lsb-release ca-certificates apt-transport-https software-properties-common gnupg2",
|
||||||
|
os: "debian"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: "echo \"deb https://packages.sury.org/php/ $(lsb_release -sc) main\" | tee /etc/apt/sources.list.d/sury-php.list"
|
description: "PHP installieren",
|
||||||
|
command: "add-apt-repository --yes ppa:ondrej/php",
|
||||||
|
os: "ubuntu"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
command: "wget -qO - https://packages.sury.org/php/apt.gpg | apt-key add -"
|
description: "PHP installieren",
|
||||||
|
command: "echo \"deb https://packages.sury.org/php/ $(lsb_release -sc) main\" | tee /etc/apt/sources.list.d/sury-php.list && wget -qO - https://packages.sury.org/php/apt.gpg | apt-key add -",
|
||||||
|
os: "debian"
|
||||||
},
|
},
|
||||||
{command: "apt update"},
|
{command: "apt update"},
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user