You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*) echo"usage: $0 [[--no-db] [--no-assets] [--local]] production development | staging development | development staging | development production | staging production | production staging"&&exit 1 ;;
70
+
*) echo"usage: $0 [[--skip-db] [--skip-assets] [--local]] production development | staging development | development staging | development production | staging production | production staging"&&exit 1 ;;
71
71
esac
72
72
73
-
if [ "$NO_DB"=false ]
73
+
if [ "$SKIP_DB"=false ]
74
74
then
75
75
DB_MESSAGE=" - ${bold}reset the $TO database${normal} ($TOSITE)"
76
76
fi
77
77
78
-
if [ "$NO_ASSETS"=false ]
78
+
if [ "$SKIP_ASSETS"=false ]
79
79
then
80
80
ASSETS_MESSAGE=" - sync ${bold}$DIR${normal} from $FROM ($FROMSITE)?"
81
81
fi
82
82
83
-
if [ "$NO_DB"=true ] && [ "$NO_ASSETS"=true ]
83
+
if [ "$SKIP_DB"=true ] && [ "$SKIP_ASSETS"=true ]
84
84
then
85
85
echo"Nothing to synchronize."
86
86
exit;
@@ -132,7 +132,7 @@ if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then
132
132
};
133
133
availto
134
134
135
-
if [ "$NO_DB"=false ]
135
+
if [ "$SKIP_DB"=false ]
136
136
then
137
137
echo"Syncing database..."
138
138
# Export/import database, run search & replace
@@ -154,7 +154,7 @@ if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then
*) echo"usage: $0 [[--no-db] [--no-assets] [--local]] production development | staging development | development staging | development production | staging production | production staging"&&exit 1 ;;
67
+
*) echo"usage: $0 [[--skip-db] [--skip-assets] [--local]] production development | staging development | development staging | development production | staging production | production staging"&&exit 1 ;;
68
68
esac
69
69
70
-
if [ "$NO_DB"=false ]
70
+
if [ "$SKIP_DB"=false ]
71
71
then
72
72
DB_MESSAGE=" - ${bold}reset the $TO database${normal} ($TOSITE)"
73
73
fi
74
74
75
-
if [ "$NO_ASSETS"=false ]
75
+
if [ "$SKIP_ASSETS"=false ]
76
76
then
77
77
ASSETS_MESSAGE=" - sync ${bold}$DIR${normal} from $FROM ($FROMSITE)?"
78
78
fi
79
79
80
-
if [ "$NO_DB"=true ] && [ "$NO_ASSETS"=true ]
80
+
if [ "$SKIP_DB"=true ] && [ "$SKIP_ASSETS"=true ]
81
81
then
82
82
echo"Nothing to synchronize."
83
83
exit;
@@ -129,7 +129,7 @@ if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then
129
129
};
130
130
availto
131
131
132
-
if [ "$NO_DB"=false ]
132
+
if [ "$SKIP_DB"=false ]
133
133
then
134
134
echo"Syncing database..."
135
135
# Export/import database, run search & replace
@@ -151,7 +151,7 @@ if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then
0 commit comments