diff --git a/archiso/airootfs/etc/gdm/custom.conf b/archiso/airootfs/etc/gdm/custom.conf index 3d7bbe9..fe61172 100644 --- a/archiso/airootfs/etc/gdm/custom.conf +++ b/archiso/airootfs/etc/gdm/custom.conf @@ -1,4 +1,4 @@ [daemon] AutomaticLoginEnable=True -AutomaticLogin=liveuser +AutomaticLogin=whoami #WaylandEnable=true diff --git a/build-snigdha-os/local-build.sh b/build-snigdha-os/local-build.sh old mode 100644 new mode 100755 index 8e3c93c..72fad02 --- a/build-snigdha-os/local-build.sh +++ b/build-snigdha-os/local-build.sh @@ -39,4 +39,20 @@ echo echo "Building Folder : "$buildFolder echo "Output Folder : "$outputFolder echo "ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo" -echo \ No newline at end of file + + if [ "$archisoVersion" == "$requiredArchisoVersion" ]; then + tput setaf 2 + echo "oooooooooooooooooooooooooooooooooooooooooooo" + echo "Required Archiso Version Satisfied..." + echo "oooooooooooooooooooooooooooooooooooooooooooo" + tput sgr0 + else + tput setaf 1 + echo "ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo" + echo "Archiso Required Version Not Found!!!" + echo "Update or Installing Archiso..." + sudo pacman -Syyu + sudo pacman -S archiso --noconfirm --needed + echo + fi +echo