export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
trap '' 2
dmesg -n 3
cd /root
echo "WELCOME TO THE CYDRALITE INSTALLATION GUIDE. PLEASE WAIT..."
sleep 1
tar --overwrite -xzf /root/libs.tar.gz -C /
cd ncurses-6.0/
sed -i s/mawk// configure
./configure --without-debug --without-ada --enable-widec --enable-overwrite
make
make install
cd /root
rm -rf ncurses-6.0/
tar xf /root/dialog.tar.gz
cd dialog-1.3-20240619/
./configure
make
make install
rm -rf /root/dialog-1.3-20240619/
cd /root
clear
echo "THE INSTALLATION GUIDE IS STARTING SOON!"
sleep 3
/usr/bin/installer
clear
echo "You can remove the cydralite installation guide from your computer and reboot!"
echo "--> Press ENTER to Reboot"
read nerd
trap 2
reboot
