diff --git a/README.md b/README.md index 5c21dd9..f9619fc 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ Funktionen mkdir -p /home/scripts/default mkdir -p /tmp/git git clone https://git.retronerd.at/schiwagoa/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-updater.sh" "/home/scripts/default/" chmod 755 -R /home/scripts/default -chmod +x /home/scripts/default/weekly-update.v2.sh +chmod +x "/home/scripts/default/weekly-updater.sh" cat <(crontab -l) <(echo "@weekly /home/scripts/default/weekly-update.v2.sh > /dev/null 2>&1") | crontab - rm -r /tmp/git/weekly-updater ```