Update pre-install.sh

Update system package index