installer/main.sh: fixes