Doku aktualisiert
This commit is contained in:
		
							parent
							
								
									5b702be1d3
								
							
						
					
					
						commit
						49f9ab3703
					
				@ -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`
 | 
					1. Klone das Repository: `git clone https://git.techniverse.net/scriptos/weekly-updater.git`
 | 
				
			||||||
2. Navigiere in das Verzeichnis: `cd weekly-updater`
 | 
					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:
 | 
					## 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 /home/scripts/default
 | 
				
			||||||
mkdir -p /tmp/git
 | 
					mkdir -p /tmp/git
 | 
				
			||||||
git clone https://git.techniverse.net/scriptos/weekly-updater.git /tmp/git/weekly-updater
 | 
					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 755 -R /home/scripts/default
 | 
				
			||||||
chmod +x /home/scripts/default/weekly-update.v2.sh
 | 
					chmod +x /home/scripts/default/weekly-update.v3.sh
 | 
				
			||||||
cat <(crontab -l) <(echo "@weekly /home/scripts/default/weekly-update.v2.sh > /dev/null 2>&1") | crontab -
 | 
					cat <(crontab -l) <(echo "@weekly /home/scripts/default/weekly-update.v3.sh > /dev/null 2>&1") | crontab -
 | 
				
			||||||
rm -r /tmp/git/weekly-updater
 | 
					rm -r /tmp/git/weekly-updater
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user