|
@ -6,8 +6,8 @@ DIR="$(realpath "$(dirname "$0")")" |
|
|
cd "$HOME" || exit 1; |
|
|
cd "$HOME" || exit 1; |
|
|
|
|
|
|
|
|
dependencies() { |
|
|
dependencies() { |
|
|
apt update -y |
|
|
|
|
|
apt install -y make curl sudo git zip unzip || exit 1 |
|
|
|
|
|
|
|
|
sudo apt update -y |
|
|
|
|
|
sudo apt install -y make curl sudo git zip unzip || exit 1 |
|
|
if ! (type sudo 2>&1) > /dev/null; then |
|
|
if ! (type sudo 2>&1) > /dev/null; then |
|
|
echo "sudo is not installed."; |
|
|
echo "sudo is not installed."; |
|
|
exit 1 |
|
|
exit 1 |
|
|