mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-28 10:51:24 +00:00
fix(scripts): force rpm postinstall script to always show dialog, even on upgrade.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
parent
1b11a041b5
commit
dcaf24164f
@ -33,7 +33,7 @@ systemctl --system disable 'falcoctl-artifact-follow.service' || true
|
|||||||
# unmask falcoctl if it was masked
|
# unmask falcoctl if it was masked
|
||||||
systemctl --system unmask falcoctl-artifact-follow.service || true
|
systemctl --system unmask falcoctl-artifact-follow.service || true
|
||||||
|
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
if [ -x /usr/bin/dialog ] && [ "${FALCO_FRONTEND}" != "noninteractive" ]; then
|
if [ -x /usr/bin/dialog ] && [ "${FALCO_FRONTEND}" != "noninteractive" ]; then
|
||||||
# If dialog is installed, create a dialog to let users choose the correct driver for them
|
# If dialog is installed, create a dialog to let users choose the correct driver for them
|
||||||
CHOICE=$(dialog --clear --title "Falco drivers" --menu "Choose your preferred driver:" 12 55 4 \
|
CHOICE=$(dialog --clear --title "Falco drivers" --menu "Choose your preferred driver:" 12 55 4 \
|
||||||
|
Loading…
Reference in New Issue
Block a user