Git Product home page Git Product logo

Comments (8)

aalaesar avatar aalaesar commented on July 21, 2024 1

@Kassiematis : this remove useful infos and the problem, but do not fix it πŸ˜•
the cause seems to be parenthesis in the commit description messing with the regex.
This show that I should be using escaped double quotes for the echo function to be interpreted by the eval function.
but in this case adding a space in the regex after [)] should fix it without breaking the other ones.
that gives us:
205: echo "echo \"Selected Tag: $(echo ${latestTag} | sed 's/.*tag: \(.*\)[)] .*/\1/') ${latestTag:0:7}\""
but I can't test it, I'm away from my test system.

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024 1

Tested and problem with syntax error is solved.

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 21, 2024

Seems that the main cause is this one:
E: Unable to find a source package for libreoffice
try to delete /opt/lool, then rerun the script
Do your host have full access to github ?
can you send more logs?

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024

Where is /opt/lool coming from? Did you change lool_dir="/opt/online"?

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024

I have installed a vanilla Ubuntu and i got the same error.

./officeonline-install.sh: eval: line 448: syntax error near unexpected token `)’

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024

The selected tag from git has the ) character in the title.

21-7-2017 10-47-55

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024

Changing line 205 from

echo "echo Selected Tag: $(echo ${latestTag} | sed 's/.*tag: \(.*\)[)].*/\1/') ${latestTag:0:7}"

to

echo "echo Selected Tag: ${latestTag:0:7}" wil fix it.

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 21, 2024

@rochelmeyer For some reason your lool user has /opt/lool as homedir. Not ideal for this script.

from officeonlin-install.sh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.