Make panel_update.sh more reliable
This commit is contained in:
		
							parent
							
								
									0b9e8b69d2
								
							
						
					
					
						commit
						3111693cc0
					
				| 
						 | 
					@ -15,7 +15,8 @@ then
 | 
				
			||||||
    exit 2
 | 
					    exit 2
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pkill -f "bash \./$1\.sh"
 | 
					. $CWD/panel_config
 | 
				
			||||||
pushd $CWD/lemons >/dev/null
 | 
					pkill -f "bash \./lemons/$1\.sh"
 | 
				
			||||||
./$1.sh | ../panel.sh &
 | 
					pushd "$CWD" >/dev/null
 | 
				
			||||||
 | 
					./lemons/$1.sh > "$PANEL_FIFO" &
 | 
				
			||||||
popd >/dev/null
 | 
					popd >/dev/null
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue