install.sh - the previous commit was broken

this one adds the missing ‘then’