-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2259ab9
commit 5ba3671
Showing
4 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/sh | ||
|
||
DIR1="storage/framework" | ||
DIR2="storage/framework/cache" | ||
DIR3="storage/framework/cache/data" | ||
DIR4="storage/framework/sessions" | ||
DIR5="storage/framework/views" | ||
|
||
|
||
if [ ! -d "$DIR1" ]; then | ||
mkdir "$DIR1" | ||
echo "folder $DIR1 created" | ||
fi | ||
if [ ! -d "$DIR2" ]; then | ||
mkdir "$DIR2" | ||
echo "folder $DIR2 created" | ||
fi | ||
if [ ! -d "$DIR3" ]; then | ||
mkdir "$DIR3" | ||
echo "folder $DIR3 created" | ||
fi | ||
if [ ! -d "$DIR4" ]; then | ||
mkdir "$DIR4" | ||
echo "folder $DIR4 created" | ||
fi | ||
if [ ! -d "$DIR5" ]; then | ||
mkdir "$DIR5" | ||
echo "folder $DIR5 created" | ||
fi | ||
|
||
chmod -R 777 storage | ||
echo "permissions set on storage" |