From 5c767cf454b8c2d0b5d88f739be5306ac2ac97b2 Mon Sep 17 00:00:00 2001 From: Anurag Verma <43913907+ultrahacx@users.noreply.github.com> Date: Tue, 5 May 2020 16:18:46 +0530 Subject: [PATCH] Update manjaro-lxde.sh --- Installer/Manjaro/manjaro-lxde.sh | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/Installer/Manjaro/manjaro-lxde.sh b/Installer/Manjaro/manjaro-lxde.sh index 4f0e7e4..1aa553e 100644 --- a/Installer/Manjaro/manjaro-lxde.sh +++ b/Installer/Manjaro/manjaro-lxde.sh @@ -69,20 +69,32 @@ chmod 755 -R manjaro-fs #DE installation rm -rf $folder/root/.bash_profile -wget $dlink/xfce4_de.sh -O $folder/root/xfce4_de.sh +wget $dlink/lxde_de.sh -O $folder/root/lxde_de.sh rm -rf $folder/etc/resolv.conf +cat >$folder/etc/pacman.d/mirrorlist <<'EOL' +## +## Manjaro Linux repository mirrorlist +## Generated on 02 May 2020 14:22 +## +## Use pacman-mirrors to modify +## +## Location : Germany +## Time : 99.99 +## Last Sync : +Server = http://manjaro-arm.moson.eu/arm-stable/$repo/$arch/ +EOL +rm -rf $folder/etc/resolv.conf && echo "nameserver 1.1.1.1" > $folder/etc/resolv.conf echo " #!/bin/bash -rm -rf /etc/resolv.conf && echo 'nameserver 1.1.1.1' > /etc/resolv.conf -echo 'pacman-mirrors -g -c Japan && pacman -Syyuu --noconfirm && pacman-key --init && pacman-key --populate && pacman -Syu --noconfirm' > $folder/usr/local/bin/fix-repo +echo 'pacman-key --init && pacman-key --populate && pacman -Syu --noconfirm' > $folder/usr/local/bin/fix-repo chmod +x $folder/usr/local/bin/fix-repo fix-repo mkdir -p ~/.vnc clear -if [ ! -f /root/xfce4_de.sh ]; then - wget --tries=20 $dlink/xfce4_de.sh -O /root/xfce4_de.sh - bash ~/xfce4_de.sh +if [ ! -f /root/lxde_de.sh ]; then + wget --tries=20 $dlink/lxde_de.sh -O /root/lxde_de.sh + bash ~/lxde_de.sh else - bash ~/xfce4_de.sh + bash ~/lxde_de.sh fi clear if [ ! -f /usr/local/bin/vncserver-start ]; then