From 427b23b12c2ac4df8f5c31ecc785cb95ef1b93e5 Mon Sep 17 00:00:00 2001 From: Scott B <28817345+foundObjects@users.noreply.github.com> Date: Sun, 12 Jan 2020 13:05:02 -0800 Subject: [PATCH] more reliable hook trigger removal --- install.sh | 2 +- src/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6343813..41d5f42 100755 --- a/install.sh +++ b/install.sh @@ -41,7 +41,7 @@ DPkg::Pre-Install-Pkgs { }; DPkg::Post-Invoke { - "[ -f /tmp/.pve-nag-buster ] && /usr/share/pve-nag-buster.sh && rm -f /tmp/.pve-nag-buster; exit 0"; + "[ -f /tmp/.pve-nag-buster ] && { /usr/share/pve-nag-buster.sh; rm -f /tmp/.pve-nag-buster; }; exit 0"; }; EOF diff --git a/src/install b/src/install index a925a7a..c8af705 100644 --- a/src/install +++ b/src/install @@ -41,7 +41,7 @@ DPkg::Pre-Install-Pkgs { }; DPkg::Post-Invoke { - "[ -f /tmp/.pve-nag-buster ] && /usr/share/pve-nag-buster.sh && rm -f /tmp/.pve-nag-buster; exit 0"; + "[ -f /tmp/.pve-nag-buster ] && { /usr/share/pve-nag-buster.sh; rm -f /tmp/.pve-nag-buster; }; exit 0"; }; EOF