feat(selfhost): add verified release updates with backups and recovery state
This commit is contained in:
@@ -80,7 +80,7 @@ have() {
|
||||
|
||||
install_base_packages() {
|
||||
local missing=()
|
||||
for binary in curl openssl; do
|
||||
for binary in curl openssl python3; do
|
||||
if ! have "$binary"; then
|
||||
missing+=("$binary")
|
||||
fi
|
||||
@@ -104,7 +104,7 @@ install_base_packages() {
|
||||
|
||||
echo "Installiere Basispakete: ${missing[*]}"
|
||||
$SUDO apt-get update
|
||||
$SUDO apt-get install -y ca-certificates curl openssl
|
||||
$SUDO apt-get install -y ca-certificates curl openssl python3
|
||||
}
|
||||
|
||||
ensure_docker() {
|
||||
@@ -185,6 +185,8 @@ download_selfhost_files() {
|
||||
download_file "$FEDEO_RAW_BASE_URL/docker-compose.selfhost.yml" "$FEDEO_DIR/docker-compose.yml"
|
||||
download_file "$FEDEO_RAW_BASE_URL/.env.example" "$FEDEO_DIR/.env.example"
|
||||
download_file "$FEDEO_RAW_BASE_URL/scripts/selfhost-setup.sh" "$FEDEO_DIR/scripts/selfhost-setup.sh"
|
||||
download_file "$FEDEO_RAW_BASE_URL/scripts/selfhost-update.py" "$FEDEO_DIR/scripts/selfhost-update.py"
|
||||
download_file "$FEDEO_RAW_BASE_URL/docs/selfhost-updates.md" "$FEDEO_DIR/SELFHOST-UPDATES.md"
|
||||
chmod +x "$FEDEO_DIR/scripts/selfhost-setup.sh"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user