##// END OF EJS Templates
Don’t require apt lock to be available on build machine if there are no packages to install
Aurélien COUDERC -
r106:8f781dfa765d
parent child
Show More
@@ -249,7 +249,7 for package in $REQUIRED_PACKAGES ; do
249 249 fi
250 250 done
251 251
252 # Ask if missing packages should get installed right now
252 # If there are missing packages ask confirmation for install, or exit
253 253 if [ -n "$MISSING_PACKAGES" ] ; then
254 254 echo "the following packages needed by this script are not installed:"
255 255 echo "$MISSING_PACKAGES"
@@ -257,10 +257,10 if [ -n "$MISSING_PACKAGES" ] ; then
257 257 echo -n "\ndo you want to install the missing packages right now? [y/n] "
258 258 read confirm
259 259 [ "$confirm" != "y" ] && exit 1
260 fi
261 260
262 # Make sure all required packages are installed
263 apt-get -qq -y install ${REQUIRED_PACKAGES}
261 # Make sure all missing required packages are installed
262 apt-get -qq -y install ${MISSING_PACKAGES}
263 fi
264 264
265 265 # Check if ./bootstrap.d directory exists
266 266 if [ ! -d "./bootstrap.d/" ] ; then
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant