master
phga 4 years ago
parent a83f9c5f19
commit 9763671c21

@ -6,7 +6,7 @@ Heavily inspired by [LARBS](https://github.com/LukeSmithxyz/LARBS).
To get started, run the following code after booting into the installation medium
``` bash
bash <(curl https://g.phga.de/toerd/fresh/raw/branch/master/bootstrap.sh)
bash <(curl https://g.phga.de/phga/fresh/raw/branch/master/bootstrap.sh)
```
Done!

@ -127,7 +127,7 @@ reflector --country 'Germany' --sort rate --protocol https --save /etc/pacman.d/
printf "${PASSWD}\n${PASSWD}\n" | passwd root
cd && curl -L https://g.phga.de/toerd/fresh/archive/master.tar.gz -o fresh.tar.gz && tar -xzf fresh.tar.gz
cd && curl -L https://g.phga.de/phga/fresh/archive/master.tar.gz -o fresh.tar.gz && tar -xzf fresh.tar.gz
# basically a shitty one time job, which does not work, seems like root does not source .bashrc
echo '/root/fresh/fresh.sh' > .bash_profile

@ -19,7 +19,7 @@ done
# Default settings
device=${device:="480"}
repo=${repo:="https://toerd@g.phga.de/toerd/dotfiles"}
repo=${repo:="https://phga@g.phga.de/phga/dotfiles"}
prog=${prog:="$scriptdir/pack.csv"}
aurhelper=${aurhelper:="yay"}
logfile=${logfile:="/dev/null"}
@ -157,8 +157,8 @@ enable_service() {
}
set_permissions() {
sed -i '/.*#toerd/d' /etc/sudoers
echo -e "$@ #toerd" >> /etc/sudoers
sed -i '/.*#phga/d' /etc/sudoers
echo -e "$@ #phga" >> /etc/sudoers
echo "Permissions set\n\n" >> $logfile
}

Loading…
Cancel
Save