more reliable hook trigger removal

This commit is contained in:
Scott B 2020-01-12 13:05:02 -08:00
parent 9a422d42a5
commit 427b23b12c
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ DPkg::Pre-Install-Pkgs {
}; };
DPkg::Post-Invoke { 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 EOF

View file

@ -41,7 +41,7 @@ DPkg::Pre-Install-Pkgs {
}; };
DPkg::Post-Invoke { 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 EOF