File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+
3
+ #! /bin/bash
4
+ folder=manjaro-fs
5
+ folder2=androjaro-fs
6
+ if [ -d " $folder " ]; then
7
+
8
+ rm -rf manjaro-fs/etc/pacman.d/mirrorlist
9
+ cat > $folder /etc/pacman.d/mirrorlist << - EOM
10
+ ##
11
+ ## Manjaro Linux repository mirrorlist
12
+ ## Generated on 02 May 2020 14:22
13
+ ##
14
+ ## Use pacman-mirrors to modify
15
+ ##
16
+ ## Location : Germany
17
+ ## Time : 99.99
18
+ ## Last Sync :
19
+ Server = http://manjaro-arm.moson.eu/arm-stable/$repo /$arch /
20
+ EOM
21
+ fi
22
+
23
+
24
+ if [ -d " $folder2 " ]; then
25
+
26
+ rm -rf androjaro-fs/etc/pacman.d/mirrorlist
27
+ cat > $folder2 /etc/pacman.d/mirrorlist << - EOM
28
+ ##
29
+ ## Manjaro Linux repository mirrorlist
30
+ ## Generated on 02 May 2020 14:22
31
+ ##
32
+ ## Use pacman-mirrors to modify
33
+ ##
34
+ ## Location : Germany
35
+ ## Time : 99.99
36
+ ## Last Sync :
37
+ Server = http://manjaro-arm.moson.eu/arm-stable/$repo /$arch /
38
+ EOM
39
+ fi
You can’t perform that action at this time.
0 commit comments