diff --git a/scripts/install-php-module b/scripts/install-php-module index dfb4c11..11952e2 100644 --- a/scripts/install-php-module +++ b/scripts/install-php-module @@ -16,5 +16,6 @@ if [[ $? != 0 ]] then echo "Unable to locate the $1 package in APT" else + apt-get update > /dev/null 2>&1 apt-get -y install "$1" > /dev/null 2>&1 fi \ No newline at end of file