#Error installing Olympus on PopOS

29 messages · Page 1 of 1 (latest)

glacial adder
#

so, im trying to install Olympus on PopOS, and every time i try to run the install script, this error message in picture 1 appears.
in pictures 2 and 3 theres the install.sh file.

torn lark
#

Script unreadable per discord compression

#

Imo install the flatpak

glacial adder
quaint barn
#
(deck@steamdeck ~)$ d=543
(deck@steamdeck ~)$ echo "${d:0:1}"
5

well, is it running the script using bash, or some other shell? thinkeline

glacial adder
#

im using the sh command, am still pretty new to linux xd

quaint barn
#
(deck@steamdeck ~)$ sh
sh-5.2$ d=543
sh-5.2$ echo "${d:0:1}"
5
sh-5.2$ 

nevermind, even sh can do it

torn lark
#

nooo

#

anyway remove sh and just write the file name hopefully

#

i was wondering where the code block is from but apparently that's maddie running things

quaint barn
#

yeah, ${d:0:1} is supposed to extract the first character of d

#

so the intention here is for the script to work if you type "yes" as opposed to just "y"

torn lark
#

or write bash instead of sh i think

#

maybe

quaint barn
#

hopefully running the file itself should use bash

glacial adder
#

it worked

#

tysm tho!

torn lark
#

i am clueless about this but ai tells me that sh uses a different shell on ubuntu and the likes

#

Dash?

#

Interesting never heard of it

quaint barn
#

huh yeah, mine points to bash (I'm on SteamOS)

torn lark
#

i think that follows from 'deck@steamdeck'

quaint barn
#

same from a Debian box

maddie@box:~$ file -h /bin/sh
/bin/sh: symbolic link to dash
maddie@box:~$ sh
$ d=14423
$ echo "${d:0:1}"
sh: 2: Bad substitution
$ 
torn lark
#

I remember trying to run shell scripts with sh once no wonder it didn't work

quaint barn
#

apparently recent Ubuntu and Debian versions have sh redirect to dash instead of bash

#

and PopOS is an Ubuntu derivative