Skip to content

Commit

Permalink
Hotfix: Changed directory in init script from src/stub/ to resources/ (
Browse files Browse the repository at this point in the history
  • Loading branch information
Pancrisp authored and svpernova09 committed Mar 14, 2017
1 parent 4afb6ee commit bd18c79
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions init.bat
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@echo off

if ["%~1"]==["json"] (
copy /-y src\stubs\Homestead.json Homestead.json
copy /-y resources\Homestead.json Homestead.json
)
if ["%~1"]==[""] (
copy /-y src\stubs\Homestead.yaml Homestead.yaml
copy /-y resources\Homestead.yaml Homestead.yaml
)

copy /-y src\stubs\after.sh after.sh
copy /-y src\stubs\aliases aliases
copy /-y resources\after.sh after.sh
copy /-y resources\aliases aliases

echo Homestead initialized!
8 changes: 4 additions & 4 deletions init.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env bash

if [[ -n "$1" ]]; then
cp -i src/stubs/Homestead.json Homestead.json
cp -i resources/Homestead.json Homestead.json
else
cp -i src/stubs/Homestead.yaml Homestead.yaml
cp -i resources/Homestead.yaml Homestead.yaml
fi

cp -i src/stubs/after.sh after.sh
cp -i src/stubs/aliases aliases
cp -i resources/after.sh after.sh
cp -i resources/aliases aliases

echo "Homestead initialized!"

1 comment on commit bd18c79

@JosephKings7
Copy link

@JosephKings7 JosephKings7 commented on bd18c79 Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best regards to all: Query: Please: I need to change/roll back the installation of Homestead 14.5.* to a previous version compatible with 32-bit Windows; How can/should I do this? Or, how can you install this version https://github.com/laravel/homestead/tree/v12.2.0 ?Thank you very much.

Please sign in to comment.