]> git.proxmox.com Git - pmg-api.git/commit
d/postinst: avoid processing non existent '*' templates due to glob
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jun 2020 17:37:32 +0000 (19:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Jun 2020 17:37:40 +0000 (19:37 +0200)
commite97f0405f9b6b1dda1c927fb7ed505a6f541f73a
treead363b3d7cf4c3e5c5c73b8eb568748d3b990950
parent8ab20e551d0c7bcd5f5f9b681f41309fcd018e8d
d/postinst: avoid processing non existent '*' templates due to glob

if there's no file at all in that path the wildcard glob won't expand
and POSIX shell will use '*' as filename, which will then fail.

Avoid that.

Reported-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/postinst