ass ass ass ass

This commit is contained in:
λmolinae 2025-06-07 21:40:38 +00:00
parent bff74bef09
commit 41a06efbdc

View file

@ -84,6 +84,7 @@ setup_home(){
mkdir $HOME/Documents/Miscellaneous
export PATH="$PATH:$(find ~/.local/bin -type d | paste -sd ':' -)"
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
}
@ -94,7 +95,7 @@ setup_chroot(){
mkdir alpchroot
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
./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 chown -R $USER:$USER alpchroot/ >/dev/null 2>&1
mkdir -p alpchroot/etc/apk
@ -106,7 +107,7 @@ setup_chroot(){
compile() {
cd "$HOME/.local/src/$1/"
bwroot make clean install
bwroot make clean install >/dev/null 2>&1
}
echo "Welcome to the installer"
@ -120,9 +121,10 @@ setup_bluetooth
setup_home
setup_chroot
read_software "$devware"
compile hellwal
hellwal -i $HOME/Pictures/Wallpapers/vatihall.jpg
compile ctpv
compile dwl
compile slstatus
compile hellwal
compile ctpv
doas apk del git
printf "Installation finished, before you reboot please install packages you need (e.g nvidia/amd drivers)\n"; exit 0