-
Notifications
You must be signed in to change notification settings - Fork 0
/
neteja.py
54 lines (33 loc) · 894 Bytes
/
neteja.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
Name="neteja"
Version="V4.0"
Maintainer="Can202"
Contact="[email protected]"
Time="short"
Arch="all"
License="https://gitlab.com/voromv/Neteja/-/raw/main/LICENSE"
Depends= ["dialog", "sudo", "coreutils", "bash", "curl", "tar", "sug/snapd", "sug/flatpak"]
Conflict= ["neteja"]
Description="""
Neteja es un script de limpieza para linux, hecho por Voro MV y su comunidad.
"""
Install="""
cd /tmp/
rm -vrf netejatemp
mkdir -p netejatemp
cd netejatemp
curl -LO https://gitlab.com/voromv/Neteja/-/archive/V4.0/Neteja-V4.0.tar
tar -xvf Neteja-V4.0.tar
chmod a+x Neteja-V4.0/*
cp -r Neteja-V4.0 /usr/lib/neteja
echo "cd /usr/lib/neteja/
./neteja.sh" > /usr/lib/neteja/neteja
chmod a+x /usr/lib/neteja/neteja
ln /usr/lib/neteja/neteja /usr/bin/neteja
cd ..
rm -vrf netejatemp
"""
Remove="""
rm -vrf /usr/bin/neteja
rm -vrf /usr/lib/neteja/
# Remove instructions here (bash)
"""