Skip to content

Commit

Permalink
version / dev / master $ functions.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Oct 24, 2019
1 parent 7a4f44e commit 6de9ab5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion menu/functions/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ owned() {
}

exitcheck() {
downloadpg
bash /opt/plexguide/menu/version/file.sh
file="/var/plexguide/exited.upgrade"
if [ ! -e "$file" ]; then
bash /opt/plexguide/menu/interface/ending.sh
Expand Down
4 changes: 2 additions & 2 deletions menu/version/file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ mainstart() {
if [ -e "$file" ]; then waitvar=1; fi
done

pgnumber=$(cat "/var/plexguide/pg.number")
latest=$(cat "/opt/pgstage/versions.sh" | head -n1)
pgnumber=$(cat /var/plexguide/pg.number)
latest=$(cat /opt/pgstage/versions.sh | head -n1)
dev=$(cat /opt/pgstage/versions.sh | sed -n 4p)
release="$(curl -s https://api.github.com/repos/MrDoobPG/PGBlitz.com/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')"

Expand Down

0 comments on commit 6de9ab5

Please sign in to comment.