From a244f20de48aca31f26e78696180a6d92fdf9554 Mon Sep 17 00:00:00 2001 From: JKANetwork Date: Sun, 12 Feb 2017 12:54:04 +0100 Subject: [PATCH] debug... --- installer/installer.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/installer/installer.sh b/installer/installer.sh index 3c03064..559f864 100755 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -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/*