[GH-ISSUE #15] install curl / sh script fails on ubuntu 24 #1

Closed
opened 2026-03-02 05:12:20 +03:00 by kerem · 1 comment
Owner

Originally created by @crobinson42 on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/gotempsh/temps/issues/15

Description

I get this:

sh: 2: set: Illegal option -o pipefail

temps.sh/deploy.sh is not a dash/POSIX-sh script — it’s a Bash script (it uses ... , local, arrays like options=(...), arithmetic ((i++)), and substring expansions like ${var:$i:1}). So fixing set -o pipefail alone won’t make it run under dash; it will fail a few lines later anyway.

Steps to reproduce

Copy install script from docs: curl -fsSL https://temps.sh/deploy.sh | sh

Expected behavior

It works.

Actual behavior

It fails with: sh: 2: set: Illegal option -o pipefail

Operating System

Linux

Temps version

latest

Docker version

No response

Relevant logs


Additional context

No response

Originally created by @crobinson42 on GitHub (Feb 25, 2026). Original GitHub issue: https://github.com/gotempsh/temps/issues/15 ### Description I get this: `sh: 2: set: Illegal option -o pipefail` temps.sh/deploy.sh is not a dash/POSIX-sh script — it’s a Bash script (it uses [[ ... ]], local, arrays like options=(...), arithmetic ((i++)), and substring expansions like ${var:$i:1}). So fixing set -o pipefail alone won’t make it run under dash; it will fail a few lines later anyway. ### Steps to reproduce Copy install script from docs: `curl -fsSL https://temps.sh/deploy.sh | sh` ### Expected behavior It works. ### Actual behavior It fails with: `sh: 2: set: Illegal option -o pipefail` ### Operating System Linux ### Temps version latest ### Docker version _No response_ ### Relevant logs ```shell ``` ### Additional context _No response_
kerem 2026-03-02 05:12:20 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@dviejokfs commented on GitHub (Feb 25, 2026):

This issue is fixed in PR #16. The install command in the documentation has been updated to use bash instead of sh, which resolves the failure on Ubuntu 24 where /bin/sh is dash.

<!-- gh-comment-id:3960472837 --> @dviejokfs commented on GitHub (Feb 25, 2026): This issue is fixed in PR #16. The install command in the documentation has been updated to use `bash` instead of `sh`, which resolves the failure on Ubuntu 24 where `/bin/sh` is `dash`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/temps#1
No description provided.