Skip to content

Install.sh targets wrong file name #5

@wittywilla

Description

@wittywilla

After having some weird issues with the install script, I noticed it was calling for "EnvyControlQt.desktop" (with no spaces), but the file included in the repo has a space, and it cannot find it to complete the setup.
Here's the terminal output for this issue:

[willow@Legion5iProGen7 EnvyControl-PyQt-new_feature]$ sudo ./install.sh
sed: can't read EnvyControlQt.desktop: No such file or directory
sed: can't read EnvyControlQt.desktop: No such file or directory
Updated the paths in the EnvyControlQt.desktop
cp: cannot stat 'EnvyControlQt.desktop': No such file or directory
Copied the EnvyControlQt.desktop to /home/willow/.local/share/applications/
Press enter to exit script:

On top of that, once I fixed the file name, it then didn't create the required folders - instead making me create the folder manually
Here's the terminal output for this issue:

[willow@Legion5iProGen7 EnvyControl-PyQt-new_feature]$ sudo ./install.sh
Updated the paths in the EnvyControlQt.desktop
cp: cannot create regular file '/home/willow/.local/share/applications/': Not a directory
Copied the EnvyControlQt.desktop to /home/willow/.local/share/applications/
Press enter to exit script:

After fixing these two issues manually, the script successfully installed itself
Here's the terminal output when everything was renamed and folders were made:

[willow@Legion5iProGen7 EnvyControl-PyQt-new_feature]$ sudo ./install.sh
Updated the paths in the EnvyControlQt.desktop
Copied the EnvyControlQt.desktop to /home/willow/.local/share/applications/
Press enter to exit script:

I'm using Endeavouros, and this is on a fairly fresh install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions