Merge branch 'v2'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-09-05 15:19:43 +09:00

View File

@@ -1,6 +1,16 @@
#!/bin/bash #!/bin/bash
set -e set -e
echo "[update.sh] Проверка bot.db..."
if [ -d "bot.db" ]; then
echo "Удаляю папку bot.db..."
rm -rf bot.db
fi
if [ ! -f "bot.db" ]; then
echo "Создаю пустой файл bot.db..."
touch bot.db
fi
echo "[update.sh] Получение свежего кода..." echo "[update.sh] Получение свежего кода..."
git pull git pull