NelloKudo / osu-winello

osu! stable installer for Linux with patched wine-osu and other nice features 8)
GNU General Public License v3.0
297 stars 13 forks source link

Script trying to install files in a non-directory #72

Closed crumblepup closed 3 months ago

crumblepup commented 3 months ago

The script is trying to touch in a directory that doesn't exist. This could be because my user-name and home folder have different names.

Bash outputs: mkdir: cannot create directory ‘/home/yumiko’: Permission denied touch: cannot touch '/home/yumiko/.bashrc': No such file or directory ./osu-winello.sh: line 107: /home/yumiko/.bashrc: No such file or directory, when my actual home folder is located in /home/lexi. This results in the game being unable to install.

NelloKudo commented 3 months ago

That is because the script is supposed to read $USER from bash and use its home as the default location. An easy workaround you can try is simply setting the user in the same terminal before launching the script with: export USER=yourusername

crumblepup commented 3 months ago

This has worked, the script installed and created files in the right directories now.