We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40aaac1 commit 34a9932Copy full SHA for 34a9932
1 file changed
themes/version1.x/Dracula/build.sh
@@ -71,6 +71,7 @@ check_distro() {
71
72
#### Install Dependencies ####
73
74
+dependencies() {
75
case "$OS" in
76
debian | ubuntu)
77
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - && apt-get install -y nodejs
@@ -81,6 +82,7 @@ centos)
81
82
[ "$OS_VER_MAJOR" == "8" ] && curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - && sudo dnf install -y nodejs yarn
83
;;
84
esac
85
+}
86
87
88
#### Donwload Files ####
@@ -128,6 +130,7 @@ print_brake 25
128
130
129
131
#### Exec Script ####
132
check_distro
133
+dependencies
134
download_files
135
production
136
bye
0 commit comments