Let user exit without pressing ^C
This commit is contained in:
		
							parent
							
								
									bd2ddd5fd4
								
							
						
					
					
						commit
						70ab580d6b
					
				@ -121,8 +121,11 @@ do	cd $TMPDIR
 | 
				
			|||||||
	highest="`wc -l $TMPF | awk '{ print $1 }'`"
 | 
						highest="`wc -l $TMPF | awk '{ print $1 }'`"
 | 
				
			||||||
	awk -F'|' <$TMPF '{ printf "%3s %-15s %s\n", $1, $2, $3 }' | more
 | 
						awk -F'|' <$TMPF '{ printf "%3s %-15s %s\n", $1, $2, $3 }' | more
 | 
				
			||||||
	echo "Format examples: '3', '3,6', '3-9', '3-9,11-15', 'all'"
 | 
						echo "Format examples: '3', '3,6', '3-9', '3-9,11-15', 'all'"
 | 
				
			||||||
	echo -n "Package(s) to install?  "
 | 
						echo -n "Package(s) to install (RETURN to exit) ?  "
 | 
				
			||||||
	read packnolist
 | 
						read packnolist
 | 
				
			||||||
 | 
						if [ "$packnolist" = "" ]
 | 
				
			||||||
 | 
						then	exit 0
 | 
				
			||||||
 | 
						fi
 | 
				
			||||||
	if [ "$packnolist" = all ]
 | 
						if [ "$packnolist" = all ]
 | 
				
			||||||
	then	packnolist=1-$highest
 | 
						then	packnolist=1-$highest
 | 
				
			||||||
	fi
 | 
						fi
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user