mirror of
				https://github.com/angristan/openvpn-install.git
				synced 2025-10-31 05:57:36 +01:00 
			
		
		
		
	apt: use remove instead of autoremove
Close https://github.com/angristan/openvpn-install/issues/794
This commit is contained in:
		| @@ -1186,7 +1186,7 @@ function removeUnbound() { | ||||
| 		systemctl stop unbound | ||||
|  | ||||
| 		if [[ $OS =~ (debian|ubuntu) ]]; then | ||||
| 			apt-get autoremove --purge -y unbound | ||||
| 			apt-get remove --purge -y unbound | ||||
| 		elif [[ $OS == 'arch' ]]; then | ||||
| 			pacman --noconfirm -R unbound | ||||
| 		elif [[ $OS =~ (centos|amzn) ]]; then | ||||
| @@ -1249,7 +1249,7 @@ function removeOpenVPN() { | ||||
| 		fi | ||||
|  | ||||
| 		if [[ $OS =~ (debian|ubuntu) ]]; then | ||||
| 			apt-get autoremove --purge -y openvpn | ||||
| 			apt-get remove --purge -y openvpn | ||||
| 			if [[ -e /etc/apt/sources.list.d/openvpn.list ]]; then | ||||
| 				rm /etc/apt/sources.list.d/openvpn.list | ||||
| 				apt-get update | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stanislas Lange
					Stanislas Lange