2024-05-01 00:22:32 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [ ! "$BASH_VERSION" ] ; then
|
|
|
|
bash $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2024-06-01 11:47:24 +00:00
|
|
|
wiBold=$(tput bold)
|
|
|
|
wiNormal=$(tput sgr0)
|
|
|
|
|
2024-05-01 00:22:32 +00:00
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo "=============================="
|
|
|
|
echo -n "$wiBold"
|
|
|
|
echo " Warén Group "
|
|
|
|
echo -n "$wiNormal"
|
|
|
|
echo "=============================="
|
2024-06-01 11:47:24 +00:00
|
|
|
echo " >> Init << "
|
2024-05-01 00:22:32 +00:00
|
|
|
echo "------------------------------"
|
|
|
|
podman run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp docker.io/library/php:8-cli php generator.php &> /dev/null
|
|
|
|
chmod +x init.sh &> /dev/null
|
|
|
|
echo " "
|
|
|
|
echo " "
|
|
|
|
echo " "
|
|
|
|
exit 1
|