This commit is contained in:
Sajay 2021-10-24 11:21:08 +05:30
parent a9d90bec1a
commit 65f60fcc86
6 changed files with 10 additions and 10 deletions

View File

@ -105,7 +105,7 @@ linux /vmlinuz-linux
initrd /initramfs-linux.img initrd /initramfs-linux.img
options root=LABEL=ROOT rw rootflags=subvol=@ options root=LABEL=ROOT rw rootflags=subvol=@
EOF EOF
cp -R ~/autoarch /mnt/root/ cp -R ~/AutoArch /mnt/root/
cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist
echo "--------------------------------------" echo "--------------------------------------"
echo "-- SYSTEM READY FOR 0-setup --" echo "-- SYSTEM READY FOR 0-setup --"

View File

@ -265,14 +265,14 @@ fi
echo -e "\nDone!\n" echo -e "\nDone!\n"
if ! source install.conf; then if ! source install.conf; then
read -p "Please enter username:" username read -p "Please enter username:" username
echo "username=$username" >> ${HOME}/autoarch/install.conf echo "username=$username" >> ${HOME}/AutoArch/install.conf
fi fi
if [ $(whoami) = "root" ]; if [ $(whoami) = "root" ];
then then
useradd -m -G wheel,libvirt -s /bin/bash $username useradd -m -G wheel,libvirt -s /bin/bash $username
passwd $username passwd $username
cp -R /root/autoarch /home/$username/ cp -R /root/AutoArch /home/$username/
chown -R $username: /home/$username/autoarch chown -R $username: /home/$username/AutoArch
else else
echo "You are already a user proceed with aur installs" echo "You are already a user proceed with aur installs"
fi fi

View File

@ -64,9 +64,9 @@ for PKG in "${PKGS[@]}"; do
done done
export PATH=$PATH:~/.local/bin export PATH=$PATH:~/.local/bin
cp -r $HOME/autoarch/dotfiles/* $HOME/.config/ cp -r $HOME/AutoArch/dotfiles/* $HOME/.config/
pip install konsave pip install konsave
konsave -i $HOME/autoarch/kde.knsv konsave -i $HOME/AutoArch/kde.knsv
sleep 1 sleep 1
konsave -a kde konsave -a kde

View File

@ -16,7 +16,7 @@ From initial Prompt type the following commands:
``` ```
pacman -Sy git pacman -Sy git
git clone https://github.com/sajayprakash/AutoArch git clone https://github.com/sajayprakash/AutoArch
cd autoarch cd AutoArch
./autoarch.sh ./autoarch.sh
``` ```

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
cp -r $HOME/.config/kitty $HOME/autoarch/dotfiles/kitty cp -r $HOME/.config/kitty $HOME/AutoArch/dotfiles/kitty
konsave -s kde konsave -s kde
konsave -e kde konsave -e kde

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
export PATH=$PATH:~/.local/bin export PATH=$PATH:~/.local/bin
cp -r $HOME/autoarch/dotfiles/* $HOME/.config/ cp -r $HOME/AutoArch/dotfiles/* $HOME/.config/
pip install konsave pip install konsave
konsave -i $HOME/autoarch/kde.knsv konsave -i $HOME/AutoArch/kde.knsv
sleep 1 sleep 1
konsave -a kde konsave -a kde