mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 21:50:25 +00:00
trivial: snap: fix bash completion
fwupdmgr is now using fwupdagent, and so we need to reference properly.
This commit is contained in:
parent
14001f7523
commit
0b2c717e97
@ -3,7 +3,8 @@ build:
|
||||
install:
|
||||
#fixes up fwupdtool -> fwupd.fwupdtool
|
||||
sed -i "s,\(complete -F _fwupd[a-z]*\) \(fwupd.*\),\1 fwupd.\2,; \
|
||||
s,\(command.*\)\(fwupdtool\),\1fwupd.\2," \
|
||||
s,\(command.*\)\(fwupdtool\),\1fwupd.\2,; \
|
||||
s,\(command.*\)\(fwupdagent\),\1fwupd.\2," \
|
||||
${SNAPCRAFT_STAGE}/share/bash-completion/completions/*
|
||||
# fixes up dbus service for classic snap
|
||||
sed -i 's!SystemdService=\(.*\)!SystemdService=snap.fwupd.fwupd.service!' \
|
||||
|
Loading…
Reference in New Issue
Block a user