Skip to content

Commit

Permalink
try fix postrm
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor00f committed Nov 9, 2024
1 parent c0136c6 commit 003780f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package/DEBIAN/postrm
Original file line number Diff line number Diff line change
Expand Up @@ -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



0 comments on commit 003780f

Please sign in to comment.