Skip to content

Instantly share code, notes, and snippets.

View kamilov's full-sized avatar

Ramazan Kamilov kamilov

View GitHub Profile
@kamilov
kamilov / jetbrains-install.sh
Created September 24, 2021 12:56
Jetbrains product install shell script
#!/usr/bin/env bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root. Use sudo." 1>&2
exit 1
fi
install_root="/opt"
bin_root="/usr/local/bin"