Aktualisiere Installations- und Konfigurationsskripte zur Verwendung eines neuen Pfads für die Konfigurationsdatei
- Ändere den Zielpfad der Konfigurationsdatei in `install.sh` und `update_config.sh` von `/opt/yourchat/config/chatconfig.json` nach `/etc/yourpart/chatconfig.json`. - Füge die Erstellung des Verzeichnisses `/etc/yourpart` im Installationsskript hinzu und passe die Berechtigungen entsprechend an.
This commit is contained in:
@@ -8,7 +8,7 @@ set -e # Beende bei Fehlern
|
||||
echo "=== YourChat - Konfigurations-Update Script ==="
|
||||
|
||||
CONFIG_SOURCE="config/chatconfig.json"
|
||||
CONFIG_TARGET="/opt/yourchat/config/chatconfig.json"
|
||||
CONFIG_TARGET="/etc/yourpart/chatconfig.json"
|
||||
|
||||
# Korrigiere falls die Datei am falschen Ort liegt
|
||||
if [ -f "/opt/yourchat/chatconfig.json" ] && [ ! -f "$CONFIG_TARGET" ]; then
|
||||
|
||||
Reference in New Issue
Block a user