summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hello_cangjie_eur.spec4
1 files changed, 1 insertions, 3 deletions
diff --git a/hello_cangjie_eur.spec b/hello_cangjie_eur.spec
index 696d430..63640d5 100644
--- a/hello_cangjie_eur.spec
+++ b/hello_cangjie_eur.spec
@@ -1,6 +1,6 @@
Name: hello-cangjie-eur
Version: 0.0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Cangjie Eur demo.
License: MIT
Source: https://github.com/stevending1st/%{name}/archive/refs/tags/v%{version}.tar.gz
@@ -83,8 +83,6 @@ echo "alias main='/usr/bin/%{name}'" >> ~/.bashrc
%postun
rm -rf %{_libdir}/cangjie
-rm -rf /usr/bin/%{name}
-rm -rf /bin/%{name}
sed -i '\|source .*/cangjie/envsetup.sh|d' ~/.bashrc
sed -i "\|alias main='/usr/bin/%{name}'|d" ~/.bashrc