From: Michael Wagner Date: Thu, 18 Feb 2021 19:24:52 +0000 (+0100) Subject: epic-ts X-Git-Tag: kivitendo-mebil_0.1-0~21 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ead4bcd581bcaace363f9647b46c37c850e2fa5c;p=kivitendo-erp.git epic-ts --- diff --git a/Test/FitnessePages/AaNeuInstallation/.dummy b/Test/FitnessePages/AaNeuInstallation/.dummy deleted file mode 100644 index e69de29bb..000000000 diff --git a/Test/FitnessePages/AaNeuInstallation/content.txt b/Test/FitnessePages/AaNeuInstallation/content.txt deleted file mode 100644 index 657840fe2..000000000 --- a/Test/FitnessePages/AaNeuInstallation/content.txt +++ /dev/null @@ -1,9 +0,0 @@ -#!|test.util.CallScript| -#|call script|sudo apt-get update| -#|call script|sudo apt-get install kivitendo| - -Folgende Skripte im Verzeichnis Test ausführen: -sudo apt-get update -sudo apt-get install kivitendo - -Während der Installation werden auf der Kommandozeile diverse Passwörter gefragt. Immer "kivitendo" eingeben! \ No newline at end of file diff --git a/Test/FitnessePages/AaNeuInstallation/properties.xml b/Test/FitnessePages/AaNeuInstallation/properties.xml deleted file mode 100644 index e9c80b95a..000000000 --- a/Test/FitnessePages/AaNeuInstallation/properties.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/Test/FitnessePages/AbAktualisierung/.dummy b/Test/FitnessePages/AbAktualisierung/.dummy deleted file mode 100644 index e69de29bb..000000000 diff --git a/Test/FitnessePages/AbAktualisierung/content.txt b/Test/FitnessePages/AbAktualisierung/content.txt deleted file mode 100644 index b6aefd9ab..000000000 --- a/Test/FitnessePages/AbAktualisierung/content.txt +++ /dev/null @@ -1,8 +0,0 @@ -Zur Aktualisierung der kivitendo-Installation sind folgende Kommandos auszuführen: - -sudo apt-get update -sudo apt-get full-update - -Kontrolle der Version mit: - -apt-cache policy kivitendo diff --git a/Test/FitnessePages/AbAktualisierung/properties.xml b/Test/FitnessePages/AbAktualisierung/properties.xml deleted file mode 100644 index 72aa2b6a6..000000000 --- a/Test/FitnessePages/AbAktualisierung/properties.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - true - true - true - true - true - true - true - true - diff --git a/Test/FitnessePages/AbDeinstallieren/.dummy b/Test/FitnessePages/AbDeinstallieren/.dummy new file mode 100644 index 000000000..e69de29bb diff --git a/Test/FitnessePages/AdNeuInstallation/.dummy b/Test/FitnessePages/AdNeuInstallation/.dummy new file mode 100644 index 000000000..e69de29bb diff --git a/Test/FitnessePages/AlAktualisierung/.dummy b/Test/FitnessePages/AlAktualisierung/.dummy new file mode 100644 index 000000000..e69de29bb diff --git a/Test/bin/remove-database b/Test/bin/remove-database new file mode 100755 index 000000000..5d4fcb0b8 --- /dev/null +++ b/Test/bin/remove-database @@ -0,0 +1,27 @@ +#!/bin/bash +set -e + +echo "GUI herunterfahren ..." +systemctl stop apache2 + +echo "Lösche bestende Datenbanken ..." +su postgres -c "psql -c 'DROP DATABASE IF EXISTS kivitendo_auth;'" +su postgres -c "psql -c 'DROP DATABASE IF EXISTS firma;'" + +echo "Lösche kivitendo-user" +su postgres -c "psql -c 'DROP USER kivitendo;'" + +echo "GUI starten ..." +systemctl start apache2 + +main=$(ls -d /etc/postgresql/*/main/) +awk '/kivitendo/ { + next; } + {print;} + ' $main/pg_hba.conf > /tmp/pg_hba.conf +mv /tmp/pg_hba.conf $main/pg_hba.conf +chown postgres:postgres $main/pg_hba.conf + + +echo "ok." +