Compare commits
13 Commits
v2
...
c2b56ba8d6
| Author | SHA1 | Date | |
|---|---|---|---|
| c2b56ba8d6 | |||
| 97b20d799e | |||
| 2dc77169da | |||
| 7c80a51a82 | |||
| 0365659d55 | |||
| 1c87721611 | |||
| c6574efee3 | |||
| fb620e5d38 | |||
| 3788fca8ee | |||
| fb82b7f270 | |||
| 5f3bac5bf5 | |||
| a39a7bf910 | |||
| aa88880a52 |
10
bin/update.sh
Normal file → Executable file
10
bin/update.sh
Normal file → Executable file
@@ -1,16 +1,6 @@
|
||||
#!/bin/bash
|
||||
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] Получение свежего кода..."
|
||||
git pull
|
||||
|
||||
|
||||
Reference in New Issue
Block a user