mirror of
https://github.com/andrewpayne68/proxmox-nag-buster.git
synced 2025-01-18 16:37:51 +00:00
more reliable hook trigger removal
This commit is contained in:
parent
9a422d42a5
commit
427b23b12c
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue