Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored Oct 14, 2019
1 parent 1a3e16a commit 1ea2d6f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions menu/functions/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ alias() {
}

templatespart2() {
ansible-playbook /opt/plexguide/menu/alias/alias.yml
ansible-playbook /opt/plexguide/menu/prune/main.yml
ansible-playbook /opt/plexguide/menu/alias/alias.yml >/dev/null 2>&1
ansible-playbook /opt/plexguide/menu/prune/main.yml >/dev/null 2>&1

}

Expand Down Expand Up @@ -153,6 +153,7 @@ docstart() {
}

emergency() {
abc="/var/plexguide"
mkdir -p /opt/appdata/plexguide/emergency
variable ${abc}/emergency.display "On"
if [[ $(ls /opt/appdata/plexguide/emergency) != "" ]]; then
Expand Down Expand Up @@ -221,8 +222,10 @@ rcstored="$(rclone --version | awk '{print $2}' | tail -n 3 | head -n 1 )"

if [[ "$rcversion" == "$rcstored" ]]; then
echo "✅ rclone latest stable version check "
clear
elif [[ "$rcversion" != "$rcstored" ]]; then
ansible-playbook /opt/plexguide/menu/pg.yml --tags rcloneinstall
clear
fi
}

Expand All @@ -239,7 +242,6 @@ mountcheck() {
# ansible-playbook /opt/plexguide/menu/pgui/pgui.yml
#}


newinstall() {
rm -rf ${abc}/pg.exit 1>/dev/null 2>&1
file="${abc}/new.install"
Expand Down

0 comments on commit 1ea2d6f

Please sign in to comment.