File tree Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Expand file tree Collapse file tree 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -69,20 +69,32 @@ chmod 755 -R manjaro-fs
69
69
# DE installation
70
70
71
71
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
73
73
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
74
87
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
77
89
chmod +x $folder /usr/local/bin/fix-repo
78
90
fix-repo
79
91
mkdir -p ~/.vnc
80
92
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
84
96
else
85
- bash ~/xfce4_de .sh
97
+ bash ~/lxde_de .sh
86
98
fi
87
99
clear
88
100
if [ ! -f /usr/local/bin/vncserver-start ]; then
You can’t perform that action at this time.
0 commit comments