-
Notifications
You must be signed in to change notification settings - Fork 3
/
wpi.sh
executable file
·64 lines (52 loc) · 1.74 KB
/
wpi.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash
# Init - Wp Pro Club
# by DimaMinka (https://dimaminka.com)
# https://github.com/wp-pro-club/init
source ${PWD}/lib/app-init.sh
if [[ "$1" ]]
then
# Run the update script
bash ${PWD}/lib/update.sh $1
else
# Run the before_install after setup checking
if [ "$conf_app_setup_shell" == "true" ]; then
bash ${PWD}/lib/before-install.sh
fi
# Run the workflow install after setup checking
if [ "$conf_app_setup_workflow" != "false" ]; then
bash ${PWD}/lib/workflow.sh
# Run the env making after setup checking
if [ "$conf_app_setup_env" == "true" ]; then
bash ${PWD}/lib/env.sh
fi
# Run the settings script after setup checking
if [ "$conf_app_setup_settings" == "true" ]; then
bash ${PWD}/lib/settings.sh
fi
# Run the plugins install after setup checking
if [ "$conf_app_setup_mu_plugins" == "true" ]; then
bash ${PWD}/lib/mu-plugins.sh
fi
# Run the plugins install after setup checking
if [ "$conf_app_setup_plugins" == "true" ]; then
bash ${PWD}/lib/plugins-bulk.sh
bash ${PWD}/lib/plugins-single.sh
fi
# Run the theme install after setup checking
if [ "$conf_app_setup_theme" == "true" ]; then
bash ${PWD}/lib/theme.sh
fi
# Run the child theme install after setup checking
if [ "$conf_app_setup_child_theme" == "true" ]; then
bash ${PWD}/lib/child-theme.sh
fi
# Run the extra script after setup checking
if [ "$conf_app_setup_extra" == "true" ]; then
bash ${PWD}/lib/extra.sh
fi
fi
# Run the after_install after setup checking
if [ "$conf_app_setup_shell" == "true" ]; then
bash ${PWD}/lib/after-install.sh
fi
fi