fix: uname
This commit is contained in:
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
|
To get started, run the following code after booting into the installation medium
|
||||||
``` bash
|
``` 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!
|
Done!
|
||||||
|
@ -127,7 +127,7 @@ reflector --country 'Germany' --sort rate --protocol https --save /etc/pacman.d/
|
|||||||
|
|
||||||
printf "${PASSWD}\n${PASSWD}\n" | passwd root
|
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
|
# basically a shitty one time job, which does not work, seems like root does not source .bashrc
|
||||||
echo '/root/fresh/fresh.sh' > .bash_profile
|
echo '/root/fresh/fresh.sh' > .bash_profile
|
||||||
|
|
||||||
|
6
fresh.sh
6
fresh.sh
@ -19,7 +19,7 @@ done
|
|||||||
|
|
||||||
# Default settings
|
# Default settings
|
||||||
device=${device:="480"}
|
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"}
|
prog=${prog:="$scriptdir/pack.csv"}
|
||||||
aurhelper=${aurhelper:="yay"}
|
aurhelper=${aurhelper:="yay"}
|
||||||
logfile=${logfile:="/dev/null"}
|
logfile=${logfile:="/dev/null"}
|
||||||
@ -157,8 +157,8 @@ enable_service() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set_permissions() {
|
set_permissions() {
|
||||||
sed -i '/.*#toerd/d' /etc/sudoers
|
sed -i '/.*#phga/d' /etc/sudoers
|
||||||
echo -e "$@ #toerd" >> /etc/sudoers
|
echo -e "$@ #phga" >> /etc/sudoers
|
||||||
echo "Permissions set\n\n" >> $logfile
|
echo "Permissions set\n\n" >> $logfile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user