Script stops after asking for password
Script stops doing anything after it asks for my password. If I press Ctrl + C to stop it, then sudo asks for my psasword and quits. If I run it as superuser, the same thing happens. Nothing, until I try to quit, at which point it asks for my passwd, and quits.
System detials (neofetch):
akirapink@akira-fedora-aspire5
------------------------------
OS: Fedora Linux 41 (Workstation Edition) x86_64
Host: Aspire A515-45 V1.52
Kernel: 6.13.6-200.fc41.x86_64
Uptime: 11 hours, 41 mins
Packages: 3308 (rpm), 67 (flatpak)
Shell: bash 5.2.32
Resolution: 1920x1080
DE: Cinnamon 6.4.8
WM: Mutter (Muffin)
WM Theme: Mint-Yz-Dark-Pink (Adwaita)
Theme: WhiteSur-Dark-solid-pink [GTK2/3]
Icons: Mint-Y-Sand [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 7 5700U with Radeon Graphics (16) @ 1.800GHz
GPU: AMD ATI 05:00.0 Lucienne
Memory: 7559MiB / 15321MiB
I'm not sure what causes this. I'll try to take a look at it and try to reproduce on my computer later when I have time
same issue here's a photo.
so it may be an issue with your if statement? I am not overly familiar with whatever this language is (looks like python) but i am getting the message you "echo" in the else statement.
nvm i think the second if statement isn't called.
i have no idea just spit balling but i tried inputting:
sudo apt-get install -y g++ clang libc++-dev libc++abi-dev cmake ninja-build libx11-dev libxcursor-dev libxi-dev libgl1-mesa-dev libfontconfig1-dev git
and the command worked perfectly so i am manually putting in the rest of them.
so i managed to get it set up without further issues one thing though the terminal is popping up with the application i had turned "Terminal=true" in the desktop folder but then set it to false however its still popping up.
so it may be an issue with your if statement? I am not overly familiar with whatever this language is (looks like python) but i am getting the message you "echo" in the else statement.
This is written in bash (basically just terminal commands bundled into a file)
I'm not sure what causes this. I'll try to take a look at it and try to reproduce on my computer later when I have time
Now is when I have a bit of time 🎉
so i managed to get it set up without further issues one thing though the terminal is popping up with the application i had turned "Terminal=true" in the desktop folder but then set it to false however its still popping up.
Not sure what this is caused by. Setting Terminal to false should fix it though. Are you using the .desktop file provided with this repository?
same issue here's a photo.
What distro are you using @Xavier-Fox? Could you provide the output of grep 'NAME=' /etc/os-release | head -n 1 | sed 's/NAME=//' | tr -d '"' and cat /etc/os-release?
here's the output sorry for the wait!
This is due to an incorrect shebang at the beginning of the script. The script is requesting sh when it is written in more feature-rich bash.
The correct shebang for bash scripts in linux is #!/bin/bash (use #!/usr/bin/env bash for compatibility with bsd)
You can probably replicate this problem on your system running dash ./install.sh, which will try to run the bash code with sh.
Hi @Xavier-Fox, could you test the latest version and see if the error is still there?
@Xavier-Fox since you've recently posted here, has this been fixed?