Pfade angepasst
This commit is contained in:
parent
8ef0ef1d25
commit
74262e1337
@ -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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user