Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Sep 7, 2019
1 parent 4457b0a commit ae2846e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions menu/functions/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ alias() {
}

update() {
ansible-playbook /opt/plexguide/menu/pg.yml --tags update &>/dev/null &
}
ansible-playbook /opt/plexguide/menu/pg.yml --tags update

aptupdate() {
ansible-playbook /opt/plexguide/menu/pg.yml --tags update
Expand All @@ -153,10 +152,6 @@ dependency() {
ospgversion=$(cat /var/plexguide/os.version)
if [ "$ospgversion" == "debian" ]; then
ansible-playbook /opt/plexguide/menu/dependency/dependencydeb.yml
backports="deb http://ftp.debian.org/debian stretch-backports main contrib non-free"
if ! grep -Fxq "$backports" /etc/apt/sources.list; then
(set -x; $sh_c "echo \"$backports\" >> /etc/apt/sources.list")
fi
else
ansible-playbook /opt/plexguide/menu/dependency/dependency.yml
fi
Expand Down

0 comments on commit ae2846e

Please sign in to comment.