check_pkg is broken
- You cannot use [[ ]] inside manjaro-chroot, because it executes stuff with sh instead of bash
- Multiple commands like this don't work inside manjaro-chroot in noninteractive mode. In my experience all && and || stuff fails.
We should just check if appropriate stuff is present in /mnt/usr/bin. Simpler and less error prone.