install.sh: update filter for ubuntu
install.sh: make it compitable with dash(ubuntu default shell)