Browse Source

x230t: update x230t_skulls -U

similar to the x230_skulls
pull/170/head
Martin Kepplinger 4 years ago
parent
commit
042ec22638
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      x230t/x230t_skulls.sh

+ 2
- 2
x230t/x230t_skulls.sh View File

@ -72,9 +72,9 @@ if [ "$request_update" -gt 0 ] ; then
CURRENT_VERSION=$(head -2 NEWS | egrep -o "([0-9]{1,}\.)+[0-9]{1,}") CURRENT_VERSION=$(head -2 NEWS | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")
UPSTREAM_FILE=$(curl -s https://api.github.com/repos/merge/skulls/releases/latest | grep browser_download_url | cut -d'"' -f4 | cut -d'/' -f9 | head -n 1)
UPSTREAM_FILE=$(curl -s https://api.github.com/repos/merge/skulls/releases | grep browser_download_url | grep skulls-x230t- | cut -d'"' -f4 | cut -d'/' -f9 | head -n 1)
UPSTREAM_VERSION=$(curl -s https://api.github.com/repos/merge/skulls/releases/latest | grep browser_download_url | cut -d'"' -f4 | cut -d'/' -f9 | head -n 1 | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")
UPSTREAM_VERSION=$(curl -s https://api.github.com/repos/merge/skulls/releases | grep browser_download_url | grep skulls-x230t- | cut -d'"' -f4 | cut -d'/' -f9 | head -n 1 | egrep -o "([0-9]{1,}\.)+[0-9]{1,}")
UPSTREAM_X230=$(echo ${UPSTREAM_FILE} | grep x230t) UPSTREAM_X230=$(echo ${UPSTREAM_FILE} | grep x230t)
if [[ -z "$UPSTREAM_X230" ]] ; then if [[ -z "$UPSTREAM_X230" ]] ; then


Loading…
Cancel
Save