mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update plex_setup.sh
This commit is contained in:
parent
fe71fa8fc8
commit
b689935607
@ -30,7 +30,7 @@ apt-get autoremove >/dev/null
|
||||
|
||||
msg "Updating LXC OS..."
|
||||
apt-get update >/dev/null
|
||||
apt-get -qqy upgrade &>/dev/null
|
||||
apt-get dist-upgrade &>/dev/null
|
||||
|
||||
msg "Installing Prerequisites..."
|
||||
apt-get -qqy install \
|
||||
@ -38,11 +38,11 @@ apt-get -qqy install \
|
||||
sudo &>/dev/null
|
||||
|
||||
msg "Installing Plex Server.."
|
||||
echo deb https://downloads.plex.tv/repo/deb public main | tee /etc/apt/sources.list.d/plexmediaserver.list &>/dev/null
|
||||
curl https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add - &>/dev/null
|
||||
deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list &>/dev/null
|
||||
curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add - &>/dev/null
|
||||
apt-get update &>/dev/null
|
||||
apt-get install plexmediaserver &>/dev/null
|
||||
apt-get upgrade &>/dev/null
|
||||
apt-get dist-upgrade &>/dev/null
|
||||
|
||||
msg "Customizing LXC..."
|
||||
rm /etc/motd
|
||||
@ -59,4 +59,4 @@ systemctl daemon-reload
|
||||
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
||||
|
||||
msg "Cleanup..."
|
||||
rm -rf /plex_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||
rm -rf /plex_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||
|
Loading…
Reference in New Issue
Block a user