More work on Xlibre integration.
This commit is contained in:
		| @@ -31,6 +31,9 @@ install_xlibre() { | ||||
|     local buildDir="/tmp/xlibre-build-$$" | ||||
|     local success=true | ||||
|      | ||||
|     # Make sure system is up to date | ||||
|     yay --sudoflags "${sudoFlags[@]}" --sudoloop --noconfirm -Syu | ||||
|      | ||||
|     # Check if we have internet connectivity | ||||
|     if ! ping -c 1 aur.archlinux.org &>/dev/null; then | ||||
|         msgbox "No internet connection detected. X11Libre installation requires internet access." | ||||
| @@ -38,8 +41,8 @@ install_xlibre() { | ||||
|     fi | ||||
|      | ||||
|     # Check available disk space (need at least 2GB for building) | ||||
|     local available_space=$(df /tmp | awk 'NR==2 {print $4}') | ||||
|     if [[ $available_space -lt 2097152 ]]; then | ||||
|     local availableSpace=$(df /tmp | awk 'NR==2 {print $4}') | ||||
|     if [[ $availableSpace -lt 2097152 ]]; then | ||||
|         msgbox "Insufficient disk space in /tmp. Need at least 2GB free for X11Libre build." | ||||
|         return 1 | ||||
|     fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user