fix install and build script

This commit is contained in:
b1ek 2023-03-22 20:35:22 +10:00
parent 27792add04
commit ec0d716bde
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 3 additions and 7 deletions

View File

@ -5,11 +5,7 @@ yarn install
yarn run build
while true; do
read -p "Do you want to copy dist to ../../public/static/dist? (Y/n): " yn
case $yn in
[Yy]* cp dist ../../public/static/dist; break;;
[Nn]* break;;
[]* ) cp dist ../../public/static/dist; break;;
* ) echo "(Y/n)";;
esac
read -p "Do you want to copy dist to ../../public/static? (type n for no): " answer
if [ $answer = 'n' ] || [ $answer = 'N' ]; then exit 0; fi
cp dist ../../public/static
done