{"action":"opened","issue":{"url":"https://api.github.com/repos/Kikobeats/uno-zen/issues/96","labels_url":"https://api.github.com/repos/Kikobeats/uno-zen/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/Kikobeats/uno-zen/issues/96/comments","events_url":"https://api.github.com/repos/Kikobeats/uno-zen/issues/96/events","html_url":"https://github.com/Kikobeats/uno-zen/issues/96","id":109685314,"number":96,"title":"Fresh install error","user":{"login":"Couby","id":4526037,"avatar_url":"https://avatars.githubusercontent.com/u/4526037?v=3","gravatar_id":"","url":"https://api.github.com/users/Couby","html_url":"https://github.com/Couby","followers_url":"https://api.github.com/users/Couby/followers","following_url":"https://api.github.com/users/Couby/following{/other_user}","gists_url":"https://api.github.com/users/Couby/gists{/gist_id}","starred_url":"https://api.github.com/users/Couby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Couby/subscriptions","organizations_url":"https://api.github.com/users/Couby/orgs","repos_url":"https://api.github.com/users/Couby/repos","events_url":"https://api.github.com/users/Couby/events{/privacy}","received_events_url":"https://api.github.com/users/Couby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-04T15:08:42Z","updated_at":"2015-10-04T15:08:42Z","closed_at":null,"body":"Hi,\r\n\r\nI wanted to update the theme (uno-zen-2.2.3 for the moment) on my Ghost. I choose to make a fresh install of it.\r\nI have the following error : \r\n`sh: 3: /couby/ghost/content/themes/uno-zen/scripts/utils.sh: Syntax error: \"(\" unexpected`\r\n\r\nThe install script didn't executed fully in this case.\r\n\r\nIt seems the bash of my VM doesn't accept `function xxx(){}` commands :-/\r\nI don't know if there can be other users in the same case...\r\n\r\nI noticed removing `function` line 3 of utils.sh makes it working.\r\n\r\nThen I made a install2.sh in order to finish install.\r\n```\r\n. \"$PWD\"/scripts/utils.sh\r\n\r\nwelcome\r\n\r\necho \"Getting the repository tagged commits\"\r\ngit fetch --tags\r\n\r\necho \"Resolving the latest tagged version\"\r\nlatestTag=$(git describe --tags \"$(git rev-list --tags --max-count=1)\")\r\n\r\necho \"Creating a stable branch from the latest tagged version\"\r\ngit checkout \"$latestTag\"\r\ngit checkout -b stable\r\n\r\necho \"\\nTheme Installed Successful! Enjoy :-)\"\r\n```\r\n\r\nIf that can help someone else in the same case.\r\n\r\n"}}