-
Notifications
You must be signed in to change notification settings - Fork 0
/
update-sys-and-apps.sh
50 lines (44 loc) · 1.54 KB
/
update-sys-and-apps.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
#!/bin/bash
#Updating system parts
echo '#1 Getting new releases...'
sudo apt-get update
echo '-----------------------------------------------------------------------'
echo '#2 Cleaning database...'
sudo apt-get autoclean
echo '-----------------------------------------------------------------------'
echo '#3 Cleaning packages...'
sudo apt-get autoremove
echo '-----------------------------------------------------------------------'
echo '#1 Checking dependencies...'
sudo apt-get check
echo '-----------------------------------------------------------------------'
echo '#1 Upgrading...'
sudo apt-get upgrade
echo '-----------------------------------------------------------------------'
echo '#1 Upgrading distribution...'
sudo apt-get dist-upgrade
echo '-----------------------------------------------------------------------'
echo '#1 Trying to upgrade to a new Ubuntu release...'
do-release-upgrade
echo '-----------------------------------------------------------------------'
#Updating applications --> launching dedicated script to update apps?
#CouchPotato
cd /opt/CouchPotatoServer
git pull
#SickRage
/opt/SickRage
git pull
#plexpy
/opt/plexpy
git pull
#pyload
/opt/pyload
git pull
#NONGIT /opt/NzbDrone
#NONGIT /opt/jackett.
#Updating Plex Media Server
#Trouver addresse ici : https://www.plex.tv/downloads/
cd /home/username
wget https://downloads.plex.tv/plex-media-server/1.5.5.3634-995f1dead/plexmediaserver_1.5.5.3634-995f1dead_amd64.deb
sudo dpkg -i plexmediaserver_1.5.5.3634-995f1dead_amd64.deb
#rm plexmediaserver_1.5.5.3634-995f1dead_amd64.deb