10 lines
		
	
	
	
		
			114 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			114 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
if [ $# -lt 1 ]
 | 
						|
then
 | 
						|
	echo "Usage: $0 file.json"
 | 
						|
	exit 1
 | 
						|
fi
 | 
						|
 | 
						|
jq .admin=true < $1 > $1.new
 | 
						|
mv $1.new $1
 |