From 02788e3f592b8e53de72bfa9e88ccdcef943faa7 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:53:25 +0300 Subject: [PATCH] --- .../lib/pika/pikainstall/pika-install-chroot.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh index c96870f..ce6cdf9 100755 --- a/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh +++ b/pikainstall/usr/lib/pika/pikainstall/pika-install-chroot.sh @@ -14,8 +14,9 @@ fi chmod +x /var/albius-refind_linux.sh /var/albius-refind_linux.sh refind-install -apt install -y /var/cache/apt/archives/pika-refind-theme*.deb -apt install -y /var/cache/apt/archives/booster*.deb +apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/archives/booster*.deb +apt remove casper vanilla-installer -y +apt autoremove -y locale-gen useradd -m -k -U pikaos echo pikaos:pikaos | sudo chpasswd @@ -25,11 +26,8 @@ mkdir -p /etc/gdm3 mkdir -p /etc/sddm.conf.d/ echo '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/custom.conf echo '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/autologin.conf -mkdir -p /home/pikaos/.config/dconf -cp -rvf /etc/skel/.* /home/pikaos/ -chmod 700 /home/pikaos/.config/dconf -mkdir -p /var/lib/AccountsService/users -echo '[User]\nSession=firstsetup' > /var/lib/AccountsService/users/pikaos +mkdir -p /home/pikaos +cp -rvf /etc/skel/.* /home/pikaos/ || true mkdir -p /home/pikaos/.config/autostart cp /usr/share/applications/pika-first-setup.desktop /home/pikaos/.config/autostart -chown -R pikaos:pikaos /home/pikaos +chown -R pikaos:pikaos /home/pikaos \ No newline at end of file