mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:22:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/sh
 | |
| # shellcheck disable=SC2034
 | |
| # SC2034: "Variable appears unused. Verify it or export it."
 | |
| #         Those are intentional here, as the file is meant to be included elsewhere.
 | |
| 
 | |
| SUDO="sudo"
 | |
| 
 | |
| if [ "$(uname -s)" = "SerenityOS" ]; then
 | |
|     SUDO="pls"
 | |
| fi
 | |
| 
 | |
| die() {
 | |
|     echo "die: $*"
 | |
|     exit 1
 | |
| }
 | 
