Move from integer to string check
This commit is contained in:
		
							parent
							
								
									54530ac202
								
							
						
					
					
						commit
						3c8664b1f5
					
				| @ -26,7 +26,7 @@ else | ||||
| 	arch-chroot /mnt grub-install --target=i386-pc /dev/*da | ||||
| fi | ||||
| 
 | ||||
| if [ "$cryptroot" -eq 1 ]; then | ||||
| if [ "$cryptroot" == "yes" ]; then | ||||
| 	echo "GRUB_CMDLINE_LINUX='cryptdevice=UUID=`blkid -o value ${blockdevice}2 | head -n 1`:cryptroot'" > /mnt/etc/default/grub | ||||
| fi | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user