-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.py
77 lines (39 loc) · 1.28 KB
/
start.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import os
os.system("clear")
#file1
file = open('test.list','w')
myData = "deb https://termux.mentality.rip/termux-packages-24 stable main"
file.write(myData)
file.close()
os.system ("mv test.list sources.list")
os.system("cd sources.list.d")
#file2
file = open ('test2.list','w')
myData2 = "deb https://termux.mentality.rip/game-packages-24 games stable"
file.write(myData2)
file.close()
os.system ("mv test2.list game.list")
#file3
file = open ('test3.list','w')
myData3 = "deb https://termux.mentality.rip/science-packages-24 science stable"
file.write(myData3)
file.close()
os.system ("mv test3.list science.list")
#file4
file = open('test4.list','w')
myData4 = "deb https://termux.mentality.rip/unstable-packages unstable main"
file.write(myData4)
file.close()
os.system ("mv test4.list unstable.list")
#sources.list move (x)
#os.system ("mv sources.list sources.list.d") (x)
#game.list move
os.system ("mv game.list sources.list.d")
#science.list move
os.system ("mv science.list sources.list.d/")
#unstable.list move
os.system ("mv unstable.list sources.list.d")
os.system("clear")
os.system("pkg update ; pkg upgrade")
os.system("clear")
print ("Done..")