mirror of
https://github.com/kidwellj/proxmox-scripts.git
synced 2025-01-10 05:32:21 +00:00
Updated jellyfin_setup.sh
This commit is contained in:
parent
54e44085a6
commit
abf1b34a44
|
@ -26,15 +26,15 @@ function msg() {
|
||||||
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Setting up Container OS... \e[0m"
|
||||||
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
|
||||||
locale-gen >/dev/null
|
locale-gen >/dev/null
|
||||||
apt -y purge openssh-{client,server} >/dev/null
|
apt-get -y purge openssh-{client,server} >/dev/null
|
||||||
apt autoremove >/dev/null
|
apt-get autoremove >/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Updating Container OS... \e[0m"
|
||||||
apt update &>/dev/null
|
apt-get update &>/dev/null
|
||||||
apt -qqy upgrade &>/dev/null
|
apt-get -qqy upgrade &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing Prerequisites... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Installing Prerequisites... \e[0m"
|
||||||
apt -qqy install \
|
apt-get -qqy install \
|
||||||
curl \
|
curl \
|
||||||
sudo \
|
sudo \
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
|
@ -47,10 +47,10 @@ EOF
|
||||||
wget -q https://repo.jellyfin.org/jellyfin_team.gpg.key -O - | apt-key add - &>/dev/null
|
wget -q https://repo.jellyfin.org/jellyfin_team.gpg.key -O - | apt-key add - &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Updating Package lists... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Updating Package lists... \e[0m"
|
||||||
apt update &>/dev/null
|
apt-get update &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin Server... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Installing Jellyfin Server... \e[0m"
|
||||||
apt install jellyfin &>/dev/null
|
apt-get install jellyfin &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Enable Jellyfin Server systemd service... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Enable Jellyfin Server systemd service... \e[0m"
|
||||||
systemctl enable --now jellyfin.service &>/dev/null
|
systemctl enable --now jellyfin.service &>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue