Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Baker committed Feb 20, 2019
1 parent ffcff71 commit e87a60e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion menu/appguard/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ tee <<-EOF
EOF
sleep 2
ansible-playbook /opt/coreapps/apps/$app.yml
if [ -e "/opt/coreapps/apps/$app.yml" ]; then ansible-playbook /opt/coreapps/apps/$app.yml; fi
if [ -e "/opt/coreapps/communityapps/$app.yml" ]; then ansible-playbook /opt/communityapps/apps/$app.yml; fi
done

echo ""
Expand Down
3 changes: 2 additions & 1 deletion menu/dlpath/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ count=$(wc -l < /var/plexguide/container.running)

for ((i=1; i<$count+1; i++)); do
app=$(sed "${i}q;d" /var/plexguide/container.running)
ansible-playbook /opt/coreapps/apps/$app.yml
if [ -e "/opt/coreapps/apps/$app.yml" ]; then ansible-playbook /opt/coreapps/apps/$app.yml; fi
if [ -e "/opt/coreapps/communityapps/$app.yml" ]; then ansible-playbook /opt/communityapps/apps/$app.yml; fi
done

echo ""
Expand Down
3 changes: 2 additions & 1 deletion menu/pgshield/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ tee <<-EOF
EOF
sleep 1.5
ansible-playbook /opt/coreapps/apps/$app.yml
if [ -e "/opt/coreapps/apps/$app.yml" ]; then ansible-playbook /opt/coreapps/apps/$app.yml; fi
if [ -e "/opt/coreapps/communityapps/$app.yml" ]; then ansible-playbook /opt/communityapps/apps/$app.yml; fi
done

echo ""
Expand Down
2 changes: 1 addition & 1 deletion menu/portguard/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tee <<-EOF
EOF
sleep 1
if [ -e "/opt/coreapps/apps/$app.yml" ]; then ansible-playbook /opt/coreapps/apps/$app.yml; fi
if [ -e "/opt/coreapps/communityapps/$app.yml" ]; then ansible-playbook /opt/coreapps/apps/$app.yml; fi
if [ -e "/opt/coreapps/communityapps/$app.yml" ]; then ansible-playbook /opt/communityapps/apps/$app.yml; fi
done

echo ""
Expand Down

0 comments on commit e87a60e

Please sign in to comment.