Skip to content

Commit 044a41c

Browse files
authored
Update build.sh
1 parent 914b5dd commit 044a41c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

themes/version1.x/UltraCheese/build.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ print_brake 30
8080
echo
8181
case "$OS" in
8282
debian | ubuntu)
83-
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - && apt-get install -y nodejs && apt-get install -y unzip
83+
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - && apt-get install -y nodejs
8484
;;
8585

8686
centos)
87-
[ "$OS_VER_MAJOR" == "7" ] && curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - && sudo yum install -y nodejs yarn && sudo yum install -y unzip
88-
[ "$OS_VER_MAJOR" == "8" ] && curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - && sudo dnf install -y nodejs yarn && sudo dnf install -y unzip
87+
[ "$OS_VER_MAJOR" == "7" ] && curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - && sudo yum install -y nodejs yarn
88+
[ "$OS_VER_MAJOR" == "8" ] && curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash - && sudo dnf install -y nodejs yarn
8989
;;
9090
esac
9191
}
@@ -120,8 +120,7 @@ echo -e "* ${GREEN}Producing panel...${reset}"
120120
print_brake 25
121121
npm i -g yarn
122122
cd /var/www/pterodactyl
123-
yarn install
124-
yarn add @emotion/react
123+
yarn
125124
yarn build:production
126125
fi
127126
}

0 commit comments

Comments
 (0)