19 lines
491 B
Bash
19 lines
491 B
Bash
#!/bin/bash
|
|
|
|
# Give sudo permissions to this user
|
|
su - --command "adduser $(whoami) sudo"
|
|
newgrp sudo
|
|
sudo echo "Hello world!"
|
|
|
|
# Install git
|
|
sudo apt install git
|
|
|
|
# git config --global user.email "nuno.semperelh@protonmail.com" # to do: add part of a script that asks you for this, or lets you configure it
|
|
# git config --global user.name "NunoSempere"
|
|
# git config --global init.defaultBranch master
|
|
|
|
git clone https://git.nunosempere.com/open.source/nunOS.git
|
|
cd nunOS
|
|
|
|
source 2-core.sh
|