diff --git a/wps-office.sh b/wps-office.sh index fe2c8f3..e071c47 100644 --- a/wps-office.sh +++ b/wps-office.sh @@ -12,7 +12,7 @@ if test -f ./appimagetool; then echo " appimagetool already exists" 1> /dev/null else echo " Downloading appimagetool..." - wget -q $(wget -q https://api.github.com/repos/probonopd/go-appimage/releases -O - | grep -v zsync | grep -i continuous | grep -i appimagetool | grep -i x86_64 | grep browser_download_url | cut -d '"' -f 4 | head -1) -O appimagetool + wget -q "$(wget -q https://api.github.com/repos/probonopd/go-appimage/releases -O - | sed 's/"/ /g; s/ /\n/g' | grep -o 'https.*continuous.*tool.*86_64.*mage$')" -O appimagetool fi if test -f ./pkg2appimage; then echo " pkg2appimage already exists" 1> /dev/null