Skip to content

AppRun.wrapped syntax error in AppImage (snapshots and dev) #12608

@cybacoffee

Description

@cybacoffee

Have you searched for an existing issue?

  • Yes, I tried searching and reviewed the pinned issues

Brief Summary

Hi keepass team,
I found an issue while executing some Linux AppImage snapshots from https://snapshot.keepassxc.org:

 $ ./KeePassXC-2.8.0-snapshot-x86_64.AppImage 
/tmp/.mount_KeePasSLZ6vL/AppRun.wrapped: line 7: syntax error near unexpected token `||'
/tmp/.mount_KeePasSLZ6vL/AppRun.wrapped: line 7: `    || [ -v CHROME_WRAPPER ] || [ -v MOZ_LAUNCHED_CHILD ]; then'
$ RC2

Looks like there is an issue with the bash script appimage-apprun.sh with the line ends \\:

elif [ "$1" == "proxy" ] || [ "$(basename "$ARGV0")" == "keepassxc-proxy" ] || [ "$(basename "$ARGV0")" == "keepassxc-proxy.AppImage" ] \\
|| [ -v CHROME_WRAPPER ] || [ -v MOZ_LAUNCHED_CHILD ]; then

Steps to Reproduce

Download AppImage from https://snapshot.keepassxc.org and execute on a Linux system.

Expected Versus Actual Behavior

No response

KeePassXC Debug Information


Operating System

Linux

Linux Desktop Environment

Gnome

Linux Windowing System

Wayland

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions