On Wed, Jan 24, 2018 at 02:12:29PM +0100, Thomas Lamprecht wrote:
> Signed-off-by: Thomas Lamprecht <t.lampre...@proxmox.com>
> ---
>  debian/postinst | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/debian/postinst b/debian/postinst
> index 23355ebd..1962f6ac 100755
> --- a/debian/postinst
> +++ b/debian/postinst
> @@ -50,9 +50,8 @@ case "$1" in
>      fi
>  
>      # remove old/usused init.d files
> -    rm -f /etc/init.d/pvebanner
> -    rm -f /etc/init.d/pvenetcommit
> -    rm -f /etc/init.d/pve-manager
> +    OLD_INITD_FILES="pvebanner pvenetcommit pve-manager pvedaemon pveproxy 
> pvestatd spiceproxy"
> +    for f in ${OLD_INITD_FILES}; do rm -f "/etc/init.d/$f"; done

please wrap this in version dependent way, and add a note that it can be
removed in PVE 6.x

>  
>      # create new daily randomize update cronjob if not exist
>      MIN="$(shuf -i 0-59 -n 1)"
> -- 
> 2.14.2
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel@pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to