temp > tmp
This commit is contained in:
parent
000498582c
commit
456eb11e33
@ -21,9 +21,9 @@ Dieses Skript ist eine verbesserte Version eines wöchentlichen Update-Skripts f
|
||||
```bash
|
||||
# Script zum Updaten des Systems und CronJob erstellen
|
||||
mkdir -p /home/scripts/default
|
||||
mkdir -p /temp/git
|
||||
git clone https://git.media-techport.de/scriptos/weekly-updater.git /temp/git/weekly-updater
|
||||
cp /temp/git/weekly-updater/weekly-update.v2.sh /home/scripts/default/weekly-update.v2.sh
|
||||
mkdir -p /tmp/git
|
||||
git clone https://git.media-techport.de/scriptos/weekly-updater.git /tmp/git/weekly-updater
|
||||
cp /tmp/git/weekly-updater/weekly-update.v2.sh /home/scripts/default/weekly-update.v2.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 -
|
||||
|
Loading…
Reference in New Issue
Block a user