diff --git a/README.md b/README.md index d8538f4..aae7d33 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Dieses Skript ist eine verbesserte Version eines wöchentlichen Update-Skripts f 1. Klone das Repository: `git clone https://git.techniverse.net/scriptos/weekly-updater.git` 2. Navigiere in das Verzeichnis: `cd weekly-updater` -3. Führe das Skript aus: `bash weekly-update.v2.sh` +3. Führe das Skript aus: `bash weekly-update.v3.sh` ## Beispiel Installation: @@ -23,10 +23,10 @@ Dieses Skript ist eine verbesserte Version eines wöchentlichen Update-Skripts f mkdir -p /home/scripts/default mkdir -p /tmp/git git clone https://git.techniverse.net/scriptos/weekly-updater.git /tmp/git/weekly-updater -cp /tmp/git/weekly-updater/weekly-update.v2.sh /home/scripts/default/weekly-update.v2.sh +cp /tmp/git/weekly-updater/weekly-update.v3.sh /home/scripts/default/weekly-update.v3.sh chmod 755 -R /home/scripts/default -chmod +x /home/scripts/default/weekly-update.v2.sh -cat <(crontab -l) <(echo "@weekly /home/scripts/default/weekly-update.v2.sh > /dev/null 2>&1") | crontab - +chmod +x /home/scripts/default/weekly-update.v3.sh +cat <(crontab -l) <(echo "@weekly /home/scripts/default/weekly-update.v3.sh > /dev/null 2>&1") | crontab - rm -r /tmp/git/weekly-updater ```