18 lines
488 B
Bash
18 lines
488 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
|
||
|
|
||
|
cd ~/Documents
|
||
|
git clone https://git.nunosempere.com/open.source/nunOS.git
|
||
|
cd nunOS
|