revert ce470498de87d636575438298f5038d4cf6ac6bb
: misread code
This reverts commit ce470498de
.
This commit is contained in:
parent
ce470498de
commit
7ff4f20bdf
1 changed files with 3 additions and 7 deletions
10
blueprint.sh
10
blueprint.sh
|
@ -757,8 +757,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Place routes directory.
|
# Place routes directory.
|
||||||
if [[ $requests_routers != "" ]] \
|
if [[ $requests_routers_application != "" ]] \
|
||||||
|| [[ $requests_routers_application != "" ]] \
|
|
||||||
|| [[ $requests_routers_client != "" ]] \
|
|| [[ $requests_routers_client != "" ]] \
|
||||||
|| [[ $requests_routers_web != "" ]]; then
|
|| [[ $requests_routers_web != "" ]]; then
|
||||||
PRINT INFO "Cloning and linking router files.."
|
PRINT INFO "Cloning and linking router files.."
|
||||||
|
@ -780,13 +779,10 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
|
||||||
} 2>> $BLUEPRINT__DEBUG
|
} 2>> $BLUEPRINT__DEBUG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $requests_routers_web != "" ]] \
|
if [[ $requests_routers_web != "" ]]; then
|
||||||
|| [[ $requests_routers != "" ]]; then
|
|
||||||
if [[ $requests_routers_web != "" ]]; then PLACEDIR="$requests_routers_web"; fi
|
|
||||||
if [[ $requests_routers != "" ]]; then PLACEDIR="$requests_routers"; fi
|
|
||||||
{
|
{
|
||||||
rm "$FOLDER/routes/blueprint/web/$identifier.php"
|
rm "$FOLDER/routes/blueprint/web/$identifier.php"
|
||||||
cp -R ".blueprint/tmp/$n/$PLACEDIR" ".blueprint/extensions/$identifier/routers/web.php"
|
cp -R ".blueprint/tmp/$n/$requests_routers_web" ".blueprint/extensions/$identifier/routers/web.php"
|
||||||
ln -s -r -T ".blueprint/extensions/$identifier/routers/web.php" "$FOLDER/routes/blueprint/web/$identifier.php"
|
ln -s -r -T ".blueprint/extensions/$identifier/routers/web.php" "$FOLDER/routes/blueprint/web/$identifier.php"
|
||||||
} 2>> $BLUEPRINT__DEBUG
|
} 2>> $BLUEPRINT__DEBUG
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue