diff --git a/debian/templates/post-install.in b/debian/templates/post-install.in index 7bf793525..3e025431a 100644 --- a/debian/templates/post-install.in +++ b/debian/templates/post-install.in @@ -105,3 +105,12 @@ if [ -n "${modules}" ]; then fi done fi +# +# Clean up the build and source symlinks +# +if [ -L build ]; then + rm -f build +fi +if [ -L source ]; then + rm -f source +fi