Skip to content

Commit 5c767cf

Browse files
authored
Update manjaro-lxde.sh
1 parent d59d290 commit 5c767cf

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

Installer/Manjaro/manjaro-lxde.sh

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,32 @@ chmod 755 -R manjaro-fs
6969
#DE installation
7070

7171
rm -rf $folder/root/.bash_profile
72-
wget $dlink/xfce4_de.sh -O $folder/root/xfce4_de.sh
72+
wget $dlink/lxde_de.sh -O $folder/root/lxde_de.sh
7373
rm -rf $folder/etc/resolv.conf
74+
cat >$folder/etc/pacman.d/mirrorlist <<'EOL'
75+
##
76+
## Manjaro Linux repository mirrorlist
77+
## Generated on 02 May 2020 14:22
78+
##
79+
## Use pacman-mirrors to modify
80+
##
81+
## Location : Germany
82+
## Time : 99.99
83+
## Last Sync :
84+
Server = http://manjaro-arm.moson.eu/arm-stable/$repo/$arch/
85+
EOL
86+
rm -rf $folder/etc/resolv.conf && echo "nameserver 1.1.1.1" > $folder/etc/resolv.conf
7487
echo " #!/bin/bash
75-
rm -rf /etc/resolv.conf && echo 'nameserver 1.1.1.1' > /etc/resolv.conf
76-
echo 'pacman-mirrors -g -c Japan && pacman -Syyuu --noconfirm && pacman-key --init && pacman-key --populate && pacman -Syu --noconfirm' > $folder/usr/local/bin/fix-repo
88+
echo 'pacman-key --init && pacman-key --populate && pacman -Syu --noconfirm' > $folder/usr/local/bin/fix-repo
7789
chmod +x $folder/usr/local/bin/fix-repo
7890
fix-repo
7991
mkdir -p ~/.vnc
8092
clear
81-
if [ ! -f /root/xfce4_de.sh ]; then
82-
wget --tries=20 $dlink/xfce4_de.sh -O /root/xfce4_de.sh
83-
bash ~/xfce4_de.sh
93+
if [ ! -f /root/lxde_de.sh ]; then
94+
wget --tries=20 $dlink/lxde_de.sh -O /root/lxde_de.sh
95+
bash ~/lxde_de.sh
8496
else
85-
bash ~/xfce4_de.sh
97+
bash ~/lxde_de.sh
8698
fi
8799
clear
88100
if [ ! -f /usr/local/bin/vncserver-start ]; then

0 commit comments

Comments
 (0)