mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Merge pull request #1141 from levi-ee/fix_uninstall_defaul_opt
fix: uninstall script default option #1140
This commit is contained in:
		| @@ -202,7 +202,7 @@ function _remove_installed_packages() { | ||||
|     fi | ||||
|     echo -n "Remove the following installed packages? lighttpd hostapd iptables-persistent $php_package $dhcpcd_package vnstat qrencode [y/N]: " | ||||
|     read answer | ||||
|     if [ "$answer" != 'n' ] && [ "$answer" != 'N' ]; then | ||||
|     if [ "$answer" == 'y' ] || [ "$answer" == 'Y' ]; then | ||||
|         echo "Removing packages." | ||||
|         sudo apt-get remove lighttpd hostapd iptables-persistent $php_package $dhcpcd_package vnstat qrencode || _install_error "Unable to remove installed packages" | ||||
|         sudo apt-get autoremove || _install_error "Unable to run apt autoremove" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user