forgot slash
This commit is contained in:
		
							parent
							
								
									2b48da894e
								
							
						
					
					
						commit
						63b8f9560b
					
				@ -19,7 +19,7 @@ if [ $# -eq 1 ]
 | 
			
		||||
    rclone copy /home/gameservers/fastdl/css_mg/maps r2demo:/css_mg/maps/
 | 
			
		||||
    rclone copy /home/gameservers/fastdl/css_mg/sound r2demo:/css_mg/sound/
 | 
			
		||||
    #svencoop
 | 
			
		||||
    rclone copy /home/gameservers/fastdl/svencoop/svencoop_addon r2demo:svencoop/
 | 
			
		||||
    rclone copy /home/gameservers/fastdl/svencoop/svencoop_addon r2demo:/svencoop/
 | 
			
		||||
    echo 'Finished long run with all files updated.'
 | 
			
		||||
#else if no arguement given run default with 30minute maximum.
 | 
			
		||||
else
 | 
			
		||||
@ -40,6 +40,6 @@ else
 | 
			
		||||
    rclone copy --max-age 30m --no-traverse /home/gameservers/fastdl/css_mg/maps r2demo:/css_mg/maps/
 | 
			
		||||
    rclone copy --max-age 30m --no-traverse /home/gameservers/fastdl/css_mg/sound r2demo:/css_mg/sound/
 | 
			
		||||
    #svencoop
 | 
			
		||||
    rclone copy --max-age 30m --no-traverse /home/gameservers/fastdl/svencoop/svencoop_addon r2demo:svencoop/
 | 
			
		||||
    rclone copy --max-age 30m --no-traverse /home/gameservers/fastdl/svencoop/svencoop_addon r2demo:/svencoop/
 | 
			
		||||
    echo 'Finished short run with files younger than 30 minutes.'
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user