From 4861e0bec13db089be0794fe2a1827e49fa55d3b Mon Sep 17 00:00:00 2001 From: Wildan M Date: Sat, 24 Aug 2024 12:35:35 +0700 Subject: [PATCH] Change to NPM --- tools-init.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools-init.sh b/tools-init.sh index 14c1b0d..319f901 100644 --- a/tools-init.sh +++ b/tools-init.sh @@ -4,8 +4,8 @@ if [ ! -d "./phpmyadmin" ]; then git clone https://github.com/phpmyadmin/phpmyadmin.git phpmyadmin --filter=tree:0 -b STABLE cd ./phpmyadmin composer install -o - yarn install - yarn build + npm install + npm run build cp config.sample.inc.php config.inc.php hash=`node -e "console.log(require('crypto').randomBytes(16).toString('hex'))"` sed -ri "s/\['blowfish_secret'\] = '';/['blowfish_secret'] = '${hash}';/g" config.inc.php @@ -14,8 +14,8 @@ else cd ./phpmyadmin git pull composer install -o - yarn install - yarn build + npm install + npm run build cd .. fi if [ ! -d "./phppgadmin" ]; then