From 48143f5b7b7794cd80e62680bee7ef9b133b72e4 Mon Sep 17 00:00:00 2001 From: hoshimach1 Date: Sat, 9 Aug 2025 23:33:35 +0000 Subject: [PATCH 1/3] Update README.md --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index d85f738..7cd8143 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🚀 Altcor Server – Быстрый старт -Установите и Altcor одной командой: +Установка Altcor одной командой: ```bash git clone https://git.stellarisei.ru/hoshimach1/altcorAutoinstall/ && cd autoinstall && chmod +x install.sh && sudo ./install.sh @@ -13,7 +13,3 @@ git clone https://git.stellarisei.ru/hoshimach1/altcorAutoinstall/ && cd autoins * [http://localhost/](http://localhost/) * `http:///` * Директория сайта: `/var/www/html` - ---- - -**Altcor Server Setup** – готовый сервер за несколько минут. From c581f63c0875cf541202a9a0b7248fdcbbcd9da6 Mon Sep 17 00:00:00 2001 From: hoshimach1 Date: Sat, 9 Aug 2025 23:35:53 +0000 Subject: [PATCH 2/3] Update install.sh --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 659c3de..67ed1ba 100644 --- a/install.sh +++ b/install.sh @@ -23,6 +23,8 @@ else exit 1 fi +echo "Установка Altcor..." + if echo "$DISTRO $FAMILY" | grep -qi "debian\|ubuntu"; then PKG_MANAGER="apt" DISTRO_FAMILY="debian" @@ -451,7 +453,7 @@ fi IP_ADDR=$(hostname -I | awk '{print $1}') echo "" -echo "Установка успешно завершена." +echo "Установка Altcor успешно завершена." echo " Доступ к сайту:" echo " • http://localhost/" echo " • http://$IP_ADDR/" From 3e670d5a8c5d40b3450f80746117bd4786ae4692 Mon Sep 17 00:00:00 2001 From: hoshimach1 Date: Sat, 9 Aug 2025 23:38:52 +0000 Subject: [PATCH 3/3] Update install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 67ed1ba..4ec0490 100644 --- a/install.sh +++ b/install.sh @@ -321,9 +321,9 @@ find "$WEBROOT" -type f ! -name "db_config.php" -delete 2>/dev/null || true if curl -f -L --max-time 30 -o "$WEBROOT/index.php" "$DOWNLOAD_URL" 2>/dev/null; then if ! head -n 1 "$WEBROOT/index.php" | grep -q "/dev/null; then create_fallback_index - log_error "Скачанный файл не является PHP-скриптом, создана резервная страница" + log_warning "Скачанный файл не является PHP-скриптом, создана резервная страница" else - log_success "Файл index.php успешно загружен" + echo "Ещё чуть-чуть.." fi else create_fallback_index