Remove pipinstall
This commit is contained in:
		
							parent
							
								
									6acedc25ac
								
							
						
					
					
						commit
						7a6febe2ef
					
				
					 1 changed files with 0 additions and 8 deletions
				
			
		
							
								
								
									
										8
									
								
								bs.sh
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								bs.sh
									
										
									
									
									
								
							| 
						 | 
					@ -204,13 +204,6 @@ aurinstall() {
 | 
				
			||||||
	sudo -u "$name" $aurhelper -S --noconfirm "$1" >/dev/null 2>&1
 | 
						sudo -u "$name" $aurhelper -S --noconfirm "$1" >/dev/null 2>&1
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pipinstall() {
 | 
					 | 
				
			||||||
	whiptail --title "LARBS Installation" \
 | 
					 | 
				
			||||||
		--infobox "Installing the Python package \`$1\` ($n of $total). $1 $2" 9 70
 | 
					 | 
				
			||||||
	[ -x "$(command -v "pip")" ] || installpkg python-pip >/dev/null 2>&1
 | 
					 | 
				
			||||||
	yes | pip install "$1"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
installationloop() {
 | 
					installationloop() {
 | 
				
			||||||
	([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) ||
 | 
						([ -f "$progsfile" ] && cp "$progsfile" /tmp/progs.csv) ||
 | 
				
			||||||
		curl -Ls "$progsfile" | sed '/^#/d' >/tmp/progs.csv
 | 
							curl -Ls "$progsfile" | sed '/^#/d' >/tmp/progs.csv
 | 
				
			||||||
| 
						 | 
					@ -222,7 +215,6 @@ installationloop() {
 | 
				
			||||||
			comment="$(echo "$comment" | sed -E "s/(^\"|\"$)//g")"
 | 
								comment="$(echo "$comment" | sed -E "s/(^\"|\"$)//g")"
 | 
				
			||||||
		case "$tag" in
 | 
							case "$tag" in
 | 
				
			||||||
		"A") aurinstall "$program" "$comment" ;;
 | 
							"A") aurinstall "$program" "$comment" ;;
 | 
				
			||||||
		"P") pipinstall "$program" "$comment" ;; # Will likely remain unused
 | 
					 | 
				
			||||||
		*) maininstall "$program" "$comment" ;;
 | 
							*) maininstall "$program" "$comment" ;;
 | 
				
			||||||
		esac
 | 
							esac
 | 
				
			||||||
	done </tmp/progs.csv
 | 
						done </tmp/progs.csv
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue