##// END OF EJS Templates
Merge pull request #62 from Coucouf/relax-apt-lock-usage...
drtyhlpr -
r109:128e9f85db56 Fusion
parent child
Show More
@@ -249,7 +249,7 for package in $REQUIRED_PACKAGES ; do
249 fi
249 fi
250 done
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 if [ -n "$MISSING_PACKAGES" ] ; then
253 if [ -n "$MISSING_PACKAGES" ] ; then
254 echo "the following packages needed by this script are not installed:"
254 echo "the following packages needed by this script are not installed:"
255 echo "$MISSING_PACKAGES"
255 echo "$MISSING_PACKAGES"
@@ -257,10 +257,10 if [ -n "$MISSING_PACKAGES" ] ; then
257 echo -n "\ndo you want to install the missing packages right now? [y/n] "
257 echo -n "\ndo you want to install the missing packages right now? [y/n] "
258 read confirm
258 read confirm
259 [ "$confirm" != "y" ] && exit 1
259 [ "$confirm" != "y" ] && exit 1
260 fi
261
260
262 # Make sure all required packages are installed
261 # Make sure all missing required packages are installed
263 apt-get -qq -y install ${REQUIRED_PACKAGES}
262 apt-get -qq -y install ${MISSING_PACKAGES}
263 fi
264
264
265 # Check if ./bootstrap.d directory exists
265 # Check if ./bootstrap.d directory exists
266 if [ ! -d "./bootstrap.d/" ] ; then
266 if [ ! -d "./bootstrap.d/" ] ; then
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant