Browse Source

Install script

main
Yigit 4 years ago
parent
commit
8bb793f8a5
2 changed files with 6 additions and 17 deletions
  1. +6
    -4
      arch-setup/chroot.sh
  2. +0
    -13
      arch-setup/nonAUR.txt

+ 6
- 4
arch-setup/chroot.sh View File

@ -1,10 +1,12 @@
#!/bin/bash
if [ ! -f "/tmp/device" ]; then
if [ ! -f "/install/device" ]; then
echo -n "What is the install device: "
read device
echo "Installing to $device... (Enter to continue)"
read _
mkdir -p /install/device
echo $device /install/device
fi
ln -sf /usr/share/zoneinfo/Europe/Istanbul /etc/localtime
@ -63,7 +65,10 @@ HELPEOF
}
EOF
pacman --noconfirm -R vim
pacman -S --needed --noconfirm $(cat /install/nonAUR.txt)
line=1
blkid | while IFS= read -r i; do
echo "$line: $i"
((line=line+1))
@ -82,12 +87,9 @@ echo "Defaults env_reset,pwfeedback" >> /etc/sudoers
echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
pacman --noconfirm -R vim
pacman -S --needed --noconfirm $(cat /install/nonAUR.txt)
useradd -m $username
usermod -aG wheel yigit
echo "Set password for user $username: "
passwd $username


+ 0
- 13
arch-setup/nonAUR.txt View File

@ -1166,19 +1166,6 @@ tcsh
tdb
telegram-desktop
texinfo
texlive-bibtexextra
texlive-bin
texlive-core
texlive-fontsextra
texlive-formatsextra
texlive-games
texlive-humanities
texlive-latexextra
texlive-music
texlive-pictures
texlive-pstricks
texlive-publishers
texlive-science
thin-provisioning-tools
thunar
thunderbird


Loading…
Cancel
Save