This commit is contained in:
MrDoobPG
2019-08-31 16:16:59 +02:00
parent 3e4a871852
commit d7e1f47440
2 changed files with 6 additions and 12 deletions

View File

@@ -9,18 +9,12 @@
- hosts: localhost
gather_facts: false
tasks:
- name: Register Project
shell: 'cat /var/plexguide/pg.number'
register: serverid
- name: 'Installing Version {{serverid.stdout}}'
- name: 'Installing Version'
git:
repo: 'https://github.com/MrDoobPG/PGBlitz.com'
dest: '/opt/plexguide'
version: '{{serverid.stdout}}'
version: 'master'
force: yes
when: not serverid.stdout == "edge"
ignore_errors: True
- name: 'Stops First Time Run'
shell: 'touch /var/plexguide/ask.yes'

View File

@@ -25,10 +25,10 @@ mainstart() {
📂 Update Interface
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Prior Versions?
Stable: : $latest
Dev : $dev [ BE CAREFUL ]
Latest: : $latest
Dev : $dev
Installed : $pgnumber
[Z] Exit
@@ -38,7 +38,7 @@ Installed : $pgnumber
EOF
break=no
read -p '🌍 TYPE a PG Version | PRESS ENTER: ' typed
read -p '🌍 TYPE master or dev | PRESS ENTER: ' typed
storage=$(grep $typed /opt/pgstage/versions.sh)
parttwo