PIGPEN
This commit is contained in:
		
							parent
							
								
									bcc6b0d3ac
								
							
						
					
					
						commit
						caf635d96f
					
				
							
								
								
									
										11
									
								
								rss/pig_pen
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								rss/pig_pen
									
									
									
									
									
								
							@ -1,6 +1,11 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
str isvalue "$XDG_CONFIG_HOME" \
 | 
			
		||||
	&& printf "%s\n" "$XDG_CONFIG_HOME" && exit 0 \
 | 
			
		||||
	|| printf "%s/.pigpen" "$HOME" && exit 0 \
 | 
			
		||||
str isvalue "$PIGPEN" \
 | 
			
		||||
		&& printf "%s\n" "$PIGPEN"
 | 
			
		||||
		&& exit 0 \
 | 
			
		||||
	|| str isvalue "$XDG_CONFIG_HOME" \
 | 
			
		||||
		&& printf "%s\n" "$XDG_CONFIG_HOME"
 | 
			
		||||
		&& exit 0 \
 | 
			
		||||
	|| printf "%s/.pigpen" "$HOME" # single-user is /.pigpen
 | 
			
		||||
		&& exit 0 \
 | 
			
		||||
	|| exit 1
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user