提交 5b0d712f 编写于 作者: D Daniel Imms

Merge pull request #7350 from astitcher/master

Fix removal of /usr/bin link when upgrading package
......@@ -43,7 +43,9 @@ sudo ln -s /usr/share/@@NAME@@/bin/@@NAME@@ /usr/bin/@@NAME@@
#fi
%postun
sudo rm -f /usr/bin/@@NAME@@
if [ $1 = 0 ]; then
rm -f /usr/bin/@@NAME@@
fi
%files
%defattr(-,root,root)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册