some finish messages

This commit is contained in:
Anthony Axenov 2023-04-11 23:43:14 +08:00
parent 805716e9b4
commit bc0a2e4426
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
15 changed files with 37 additions and 19 deletions

View File

@ -8,5 +8,9 @@ echo "==============================================="
echo echo
sudo apt install -y --autoremove apache2 && \ sudo apt install -y --autoremove apache2 && \
sudo systemctl restart apache2 && \ sudo systemctl restart apache2
apache2 -v
echo
echo "Finish!"
apache2 -v
echo

View File

@ -51,6 +51,6 @@ source "${HOME}/.profile"
echo echo
echo "Finish!" echo "Finish!"
composer --version
echo echo
composer --version

View File

@ -35,6 +35,7 @@ sudo usermod -aG docker $(whoami)
echo echo
echo "Finish!" echo "Finish!"
docker --version
echo "Probably, you need to relogin to apply 'docker' group." echo "Probably, you need to relogin to apply 'docker' group."
echo "Your ones currently are: $(groups)" echo "Your ones currently are: $(groups)"
echo echo

View File

@ -16,5 +16,6 @@ rm -rf /tmp/droidcam.zip
cd ~/install/droidcam && sudo ./install-client cd ~/install/droidcam && sudo ./install-client
echo echo
echo "Finish!"
echo "Don't forget to install android app: https://play.google.com/store/apps/developer?id=Dev47Apps" echo "Don't forget to install android app: https://play.google.com/store/apps/developer?id=Dev47Apps"
echo echo

View File

@ -23,6 +23,7 @@ cd ~/install/droidcam-obs && ./install.sh
sudo modprobe v4l2loopback video_nr=2 card_label="OBS Virtual Camera" sudo modprobe v4l2loopback video_nr=2 card_label="OBS Virtual Camera"
echo echo
echo "Finish!"
echo "Don't forget to:" echo "Don't forget to:"
echo "1) restart OBS if it is running right now OR install (if not) and start it" echo "1) restart OBS if it is running right now OR install (if not) and start it"
echo "2) install android app: https://play.google.com/store/apps/developer?id=Dev47Apps" echo "2) install android app: https://play.google.com/store/apps/developer?id=Dev47Apps"

View File

@ -37,4 +37,7 @@ else
git clone https://github.com/git/git.git --depth=1 "${HOME}/install/git" git clone https://github.com/git/git.git --depth=1 "${HOME}/install/git"
fi fi
echo
echo "Finish!"
git --version git --version
echo

View File

@ -21,7 +21,10 @@ sudo rm -rf /usr/local/go && \
rm -rf /tmp/$FILE && \ rm -rf /tmp/$FILE && \
sudo chown $USER: -R /usr/local/go && \ sudo chown $USER: -R /usr/local/go && \
echo 'export PATH="$PATH:/usr/local/go/bin\"' >> $HOME/.profile && \ echo 'export PATH="$PATH:/usr/local/go/bin\"' >> $HOME/.profile && \
echo 'export GOPATH="$HOME/.go"' >> $HOME/.profile && \ echo 'export GOPATH="$HOME/.go"' >> $HOME/.profile
# source ~/.profile && \
go version && \ echo
echo "NOTE: now run 'source ~/.profile' to apply new env vars" echo "Finish!"
go version
echo "NOTE: now run 'source ~/.profile' to apply new env vars"
echo

View File

@ -22,5 +22,6 @@ export NVM_DIR="$HOME/.nvm"
nvm install-latest-npm nvm install-latest-npm
nvm install node nvm install node
nvm use node nvm use node
installed "node" && nvm current echo "Finish!"
nvm current
nvm ls nvm ls

View File

@ -29,5 +29,9 @@ sudo ./configure && \
sudo make install && sudo make install &&
sudo apt install -y \ sudo apt install -y \
network-manager-openvpn \ network-manager-openvpn \
network-manager-openvpn-gnome && \ network-manager-openvpn-gnome
openvpn --version
echo
echo "Finish!"
openvpn --version
echo

View File

@ -35,4 +35,7 @@ sudo apt install -y --autoremove \
# php${PHPVER}-dba \ # php${PHPVER}-dba \
# php${PHPVER}-xsl \ # php${PHPVER}-xsl \
echo
echo "Finish!"
php -v php -v
echo

View File

@ -26,6 +26,5 @@ composer global require vimeo/psalm --dev
echo echo
echo "Finish!" echo "Finish!"
echo
psalm --version psalm --version
echo

View File

@ -27,7 +27,6 @@ composer global require friendsofphp/php-cs-fixer --dev
echo echo
echo "Finish!" echo "Finish!"
echo
phpcs --version # phpcbf --version phpcs --version # phpcbf --version
php-cs-fixer --version php-cs-fixer --version
echo

View File

@ -26,6 +26,5 @@ composer global require phpmd/phpmd --dev
echo echo
echo "Finish!" echo "Finish!"
echo
phpmd --version phpmd --version
echo

View File

@ -26,6 +26,6 @@ composer global require phpstan/phpstan --dev
echo echo
echo "Finish!" echo "Finish!"
phpstan --version
echo echo
phpstan --version

View File

@ -12,7 +12,7 @@ installed() {
} }
! installed 'php' && echo 'ERROR: You need php to be installed' && exit 1 ! installed 'php' && echo 'ERROR: You need php to be installed' && exit 1
! installed "composer" && echo "ERROR: You rneed composer to be installed" && exit 2 ! installed "composer" && echo "ERROR: You need composer to be installed" && exit 2
COMPOSER_GLOBAL_HOME="$(composer config -g home)" COMPOSER_GLOBAL_HOME="$(composer config -g home)"
NEWPATH="export PATH=\"$COMPOSER_GLOBAL_HOME/vendor/bin:\${PATH}\"" NEWPATH="export PATH=\"$COMPOSER_GLOBAL_HOME/vendor/bin:\${PATH}\""
@ -26,6 +26,6 @@ composer global require phpunit/phpunit --dev
echo echo
echo "Finish!" echo "Finish!"
phpunit --version
echo echo
phpunit --version