diff --git a/tools-init.sh b/tools-init.sh index 319f901..14c1b0d 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 - npm install - npm run build + yarn install + yarn 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 - npm install - npm run build + yarn install + yarn build cd .. fi if [ ! -d "./phppgadmin" ]; then