try fix postrm

This commit is contained in:
Егор 2024-11-09 13:46:44 +00:00
parent c0136c680d
commit 003780f587

View File

@ -3,5 +3,9 @@
rm -R /home/autobuild/tools/win32
if grep -q 'PATH=$PATH:/home/autobuild/tools/win32/bin' /etc/profile; then
sed -i '/PATH=$PATH:/home/autobuild/tools/win32/bin/d' /etc/profile
val="PATH=\$PATH:/home/autobuild/tools/win32/bin"
sed -i '/$val/d' package/DEBIAN/control
fi