Skip to content

captain fails to install a package if the path contains a space #25

Description

@WerIstLuka

i created a directory with the name "has space" and put a .deb file in there
trying to install said file with captain gives me this error

dpkg-deb: error: --control takes at most two arguments (.deb and directory)

Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --help for help about installing and deinstalling packages.
dpkg: error processing archive /home/luka/has space/luka-menu.deb (--install):
 dpkg-deb --control subprocess returned error exit status 2
Errors were encountered while processing:
 /home/luka/has space/luka-menu.deb

simply renaming the directory to not have a space in it fixes it

this also leads to this issue happening #16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions