From 4e730c82ad9fa565f5b15a71890e842927979ef4 Mon Sep 17 00:00:00 2001 From: lxpzero Date: Tue, 23 Jul 2024 10:50:59 +0800 Subject: [PATCH] unlink aliyun_cloud.cfg after uninstalling --- cloud-init.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cloud-init.spec b/cloud-init.spec index def5cad..0b87043 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -1,4 +1,4 @@ -%define anolis_release .0.1 +%define anolis_release .0.2 %define commitid 80cf5dc %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -204,7 +204,7 @@ fi %endif %postun - +unlink /etc/cloud/cloud.cfg.d/aliyun_cloud.cfg %if "%{init_system}" == "systemd" /bin/systemctl daemon-reload >/dev/null 2>&1 || : %endif @@ -252,6 +252,9 @@ fi %{python_sitelib}/* %changelog +* Tue Jul 23 2024 Xiaoping Liu - 23.2.2-1.0.2 +- unlink aliyun_cloud.cfg after uninstalling + * Tue Jan 23 2024 Xiaoping Liu - 23.2.2-1.0.1 - update to 23.2.2 -- Gitee