ass ass ass ass
This commit is contained in:
parent
bff74bef09
commit
41a06efbdc
1 changed files with 6 additions and 4 deletions
10
installer.sh
10
installer.sh
|
@ -84,6 +84,7 @@ setup_home(){
|
||||||
mkdir $HOME/Documents/Miscellaneous
|
mkdir $HOME/Documents/Miscellaneous
|
||||||
export PATH="$PATH:$(find ~/.local/bin -type d | paste -sd ':' -)"
|
export PATH="$PATH:$(find ~/.local/bin -type d | paste -sd ':' -)"
|
||||||
sed -i "s|/home/amolinae|/home/$USER|g" $HOME/.local/bin/bwroot
|
sed -i "s|/home/amolinae|/home/$USER|g" $HOME/.local/bin/bwroot
|
||||||
|
cd $HOME/Pictures/ && git clone "https://git.amolinae.com/amolinae06/Wallpapers" && cd $HOME/
|
||||||
doas apk del git
|
doas apk del git
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -94,7 +95,7 @@ setup_chroot(){
|
||||||
mkdir alpchroot
|
mkdir alpchroot
|
||||||
curl -LO https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/apk-tools-static-2.14.4-r1.apk
|
curl -LO https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/apk-tools-static-2.14.4-r1.apk
|
||||||
tar -xzf apk-tools-static-*.apk
|
tar -xzf apk-tools-static-*.apk
|
||||||
./sbin/apk.static -X https://dl-cdn.alpinelinux.org/alpine/v3.20/main -U --allow-untrusted -p alpchroot/ --initdb add alpine-base
|
doas ./sbin/apk.static -X https://dl-cdn.alpinelinux.org/alpine/v3.20/main -U --allow-untrusted -p alpchroot/ --initdb add alpine-base
|
||||||
doas cp -L /etc/resolv.conf alpchroot/etc/
|
doas cp -L /etc/resolv.conf alpchroot/etc/
|
||||||
doas chown -R $USER:$USER alpchroot/ >/dev/null 2>&1
|
doas chown -R $USER:$USER alpchroot/ >/dev/null 2>&1
|
||||||
mkdir -p alpchroot/etc/apk
|
mkdir -p alpchroot/etc/apk
|
||||||
|
@ -106,7 +107,7 @@ setup_chroot(){
|
||||||
|
|
||||||
compile() {
|
compile() {
|
||||||
cd "$HOME/.local/src/$1/"
|
cd "$HOME/.local/src/$1/"
|
||||||
bwroot make clean install
|
bwroot make clean install >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Welcome to the installer"
|
echo "Welcome to the installer"
|
||||||
|
@ -120,9 +121,10 @@ setup_bluetooth
|
||||||
setup_home
|
setup_home
|
||||||
setup_chroot
|
setup_chroot
|
||||||
read_software "$devware"
|
read_software "$devware"
|
||||||
|
compile hellwal
|
||||||
|
hellwal -i $HOME/Pictures/Wallpapers/vatihall.jpg
|
||||||
|
compile ctpv
|
||||||
compile dwl
|
compile dwl
|
||||||
compile slstatus
|
compile slstatus
|
||||||
compile hellwal
|
|
||||||
compile ctpv
|
|
||||||
doas apk del git
|
doas apk del git
|
||||||
printf "Installation finished, before you reboot please install packages you need (e.g nvidia/amd drivers)\n"; exit 0
|
printf "Installation finished, before you reboot please install packages you need (e.g nvidia/amd drivers)\n"; exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue