mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-16 02:01:32 +01:00
debug...
This commit is contained in:
@@ -4,8 +4,9 @@
|
||||
if [[ $1 != "prepared" ]];then
|
||||
#Prepare system before install
|
||||
dialog --title "JKArch install script" --msgbox "Starting installation, please wait" 15 60
|
||||
|
||||
#Grow cowspace
|
||||
# First add exec permisson to me
|
||||
chmod +x installer.sh
|
||||
# Grow cowspace
|
||||
sudo -S mount -o remount,size=700M /run/archiso/cowspace
|
||||
|
||||
#Enable pacman
|
||||
@@ -19,20 +20,22 @@ if [[ $1 != "prepared" ]];then
|
||||
#Delete programs (For not updating it)
|
||||
sudo pacman -R clonezilla darkhttpd diffutils grml-zsh-config irssi linux-atm lvm2 man-db man-pages mc ndisc6 nmap smartmontools testdisk vi vim vim-runtime openconnect pcsclite python2 python reflector --noconfirm
|
||||
sudo rm -rf /var/cache/pacman/pkg/*
|
||||
read
|
||||
#Needed progs (gparted)
|
||||
sudo pacman -S gparted xf86-video-vesa xorg-xinit lwm xorg-xrandr --noconfirm
|
||||
sudo rm -rf /var/cache/pacman/pkg/*
|
||||
read
|
||||
#Update progs
|
||||
sudo pacman -Su --noconfirm --ignore linux #Do not upgrade kernel automatically
|
||||
sudo rm -rf /var/cache/pacman/pkg/*
|
||||
|
||||
read
|
||||
sudo rm /etc/X11/xinit/xinitrc
|
||||
sudo touch /etc/X11/xinit/xinitrc
|
||||
sudo chmod 777 /etc/X11/xinit/xinitrc
|
||||
sudo echo "#Start gparted with startx command" > /etc/X11/xinit/xinitrc
|
||||
sudo echo "lwm &" >> /etc/X11/xinit/xinitrc
|
||||
sudo echo "xrandr -s 1024x768 -r 60 &" >> /etc/X11/xinit/xinitrc
|
||||
sudo echo "xterm bash /root/installer.sh prepared" >> /etc/x11/xinit/xinitrc
|
||||
sudo echo "xterm bash /root/installer.sh prepared" >> /etc/X11/xinit/xinitrc
|
||||
##sudo echo "gparted &" >> /etc/X11/xinit/xinitrc
|
||||
sudo chmod 644 /etc/X11/xinit/xinitrc
|
||||
sudo rm -rf /var/cache/pacman/pkg/*
|
||||
|
||||
Reference in New Issue
Block a user