-
Notifications
You must be signed in to change notification settings - Fork 0
/
In addition.sh
186 lines (164 loc) · 4.76 KB
/
In addition.sh
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
#!/bin/bash
choice="$(zenity --width=430 --height=500 --list --column "Choix" --checklist --title="Deepin After Install en complément" --text " Choisissez des logiciels à intégrer non disponible dans l'Appstore!" \
--column="Noms" --column="Descriptions"\
FALSE RadioTrayLite "Ecouter radio web"\
FALSE LiveUSBmultisystem "Créer clé usb multi OS"\
FALSE ProjectLibre "Gantt organiseur de projets"\
FALSE Gwhere "Catalogueur de fichier"\
FALSE Zulucrypt "Cryptage de dossier"\
FALSE Pyload "Téléchargements à distance"\
FALSE ReFind "Interface graphique de démarrage"\
FALSE jnettop "Surveiller traffic via terminal"\
FALSE EyeD3 "Retagger mp3 en lignde de commande"\
FALSE PdfTk "Modifier PDF"\
FALSE Mencoder "Modifier vidéos"\
FALSE WebP "Codec photo"\
FALSE Gthumb "Lecteur pour photo WebP"\
FALSE Snappy "Installeur fichier Snappy"\
FALSE Flatpak "Installeur fichier Flatpak"\
FALSE PIP "Installeur fichier Python PIP"\
FALSE GTKdIALOG "Framework"\
FALSE Youtube "Télécharger video youtube"\
)"
if [ "${PIPESTATUS[0]}" != "0" ]; then
exit
fi
case "${choice}" in
*"RadioTrayLite"* )
echo "# Installation de Radio Tray Lite"
wget http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/r/radiotray-lite/radiotray-lite_0.2.18-1~webupd8~cosmic0_amd64.deb && sudo dpkg -i radiotray-lite_0.2.18-1~webupd8~cosmic0_amd64.deb && rm radiotray-lite_0.2.18-1~webupd8~cosmic0_amd64.deb
echo "30"
;;
esac
case "${choice}" in
*"LiveUSBmultisystem"* )
echo "# Installation de LiveUSBmultisystem"
sudo apt-get install software-properties-common && sudo apt-add-repository 'deb http://liveusb.info/multisystem/depot all main' && wget -q http://liveusb.info/multisystem/depot/multisystem.asc -O- | sudo apt-key add - && sudo apt-get update && sudo /usr/sbin/usermod -a -G adm "$SUDO_USER"
sudo apt install -y multisystem
echo "30"
;;
esac
case "${choice}" in
*"ProjectLibre"* )
echo "# Installation de Project Libre"
wget https://sourceforge.net/projects/projectlibre/files/ProjectLibre/1.8/projectlibre_1.8.0-1.deb && sudo dpkg -i projectlibre_1.8.0-1.deb && rm projectlibre_1.8.0-1.deb
echo "30"
;;
esac
case "${choice}" in
*"Gwhere"* )
echo "# Installation de Gwhere"
sudo add-apt-repository ppa:nilarimogard/webupd8 -y
sudo apt-get update
sudo apt install -y gwhere
echo "30"
;;
esac
case "${choice}" in
*"Zulucrypt"* )
echo "# Installation de Zulucrypt"
sudo add-apt-repository ppa:hda-me/zulucrypt -y
sudo apt-get update
sudo apt install -y zulucrypt
echo "30"
;;
esac
case "${choice}" in
*"Pyload"* )
echo "# Installation de Pyload"
wget https://github.com/pyload/pyload/releases/download/v0.4.9/pyload_0.4.9_all.deb && sudo dpkg -i pyload-v0.4.9-all.deb && rm pyload-v0.4.9-all.deb
echo "30"
;;
esac
case "${choice}" in
*"ReFind"* )
echo "# Installation de ReFind"
sudo apt-add-repository ppa:rodsmith/refind
sudo apt-get update
sudo apt install -y refind
echo "30"
;;
esac
case "${choice}" in
*"Jnettop"* )
echo "# Installation de Jnettop"
sudo apt install -y jnettop
echo "30"
;;
esac
case "${choice}" in
*"EyeD3"* )
echo "# Installation de EyeD3"
sudo apt install -y eyed3
echo "30"
;;
esac
case "${choice}" in
*"PdfTk"* )
echo "# Installation de PdfTk"
sudo apt install -y pdftk
echo "30"
;;
esac
case "${choice}" in
*"mencoder"* )
echo "# Installation de mencoder"
sudo apt install -y mencoder
echo "30"
;;
esac
case "${choice}" in
*"WebP"* )
echo "# Installation de WebP"
sudo apt install -y webp
echo "30"
;;
esac
case "${choice}" in
*"Gthumb"* )
echo "# Installation de Gthumb"
sudo apt install -y gthumb
echo "30"
;;
esac
case "${choice}" in
*"Snappy"* )
echo "# Installation de Snappy"
sudo apt install snapd
echo "30"
;;
esac
case "${choice}" in
*"Flatpak"* )
echo "# Installation de Flatpak"
sudo add-apt-repository ppa:alexlarsson/flatpak
sudo apt update && sudo apt install flatpak
echo "30"
;;
esac
case "${choice}" in
*"PIP"* )
echo "# Installation de PIP"
sudo apt install -y python3-pip
echo "30"
;;
esac
case "${choice}" in
*"GtkDialog"* )
echo "# Installation de GtkDialog"
wget https://gtkdialog.googlecode.com/files/gtkdialog-0.8.3.tar.gz
tar -xvf gtkdialog-0.8.3.tar.gz
cd gtkdialog-0.8.3/
./configure
make
sudo make install
echo "30"
;;
esac
case "${choice}" in
*"Youtube"* )
echo "# Installation de Youtube downloader"
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
echo "30"
;;
esac