Skip to content

Commit 34a9932

Browse files
authored
Update build.sh
1 parent 40aaac1 commit 34a9932

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

themes/version1.x/Dracula/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ check_distro() {
7171

7272
#### Install Dependencies ####
7373

74+
dependencies() {
7475
case "$OS" in
7576
debian | ubuntu)
7677
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - && apt-get install -y nodejs
@@ -81,6 +82,7 @@ centos)
8182
[ "$OS_VER_MAJOR" == "8" ] && curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - && sudo dnf install -y nodejs yarn
8283
;;
8384
esac
85+
}
8486

8587

8688
#### Donwload Files ####
@@ -128,6 +130,7 @@ print_brake 25
128130

129131
#### Exec Script ####
130132
check_distro
133+
dependencies
131134
download_files
132135
production
133136
bye

0 commit comments

Comments
 (0)