Skip to content

Commit

Permalink
Update file.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Nov 1, 2019
1 parent 78240e1 commit b21d57a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions menu/version/file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ 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)
versions=$(cat /opt/pgstage/versions.sh)
dev=$(cat /opt/pgstage/versions.sh | sed -n 2p)
release="$(curl -s https://api.github.com/repos/MrDoobPG/PGBlitz.com/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")')"

Expand All @@ -26,9 +27,8 @@ mainstart() {
📂 Update Interface
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Stable: : $latest
$versions
Dev : $dev [ BE CAREFUL ]
Installed : $pgnumber
Expand Down

0 comments on commit b21d57a

Please sign in to comment.