File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,12 @@ else
219219 sudo rm -f /etc/sudoers.d/stack_sh_nova
220220fi
221221
222+ # Create the destination directory and ensure it is writable by the user
223+ sudo mkdir -p $DEST
224+ if [ ! -w $DEST ]; then
225+ sudo chown ` whoami` $DEST
226+ fi
227+
222228# Set True to configure ``stack.sh`` to run cleanly without Internet access.
223229# ``stack.sh`` must have been previously run with Internet access to install
224230# prerequisites and initialize ``$DEST``.
@@ -602,12 +608,6 @@ failed() {
602608# an error. It is also useful for following along as the install occurs.
603609set -o xtrace
604610
605- # create the destination directory and ensure it is writable by the user
606- sudo mkdir -p $DEST
607- if [ ! -w $DEST ]; then
608- sudo chown ` whoami` $DEST
609- fi
610-
611611
612612# Install Packages
613613# ================
You can’t perform that action at this time.
0 commit comments